MCPcopy Index your code
hub / github.com/F-Stack/f-stack / print_flow6id

Function print_flow6id

tools/ipfw/ipv6.c:192–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void
193print_flow6id(struct buf_pr *bp, const ipfw_insn_u32 *cmd)
194{
195 uint16_t i, limit = cmd->o.arg1;
196 char sep = ',';
197
198 bprintf(bp, " flow-id ");
199 for( i=0; i < limit; ++i) {
200 if (i == limit - 1)
201 sep = ' ';
202 bprintf(bp, "%d%c", cmd->d[i], sep);
203 }
204}
205
206/* structure and define for the extension header in ipv6 */
207static struct _s_x ext6hdrcodes[] = {

Callers 1

print_instructionFunction · 0.85

Calls 1

bprintfFunction · 0.85

Tested by

no test coverage detected