MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_print_inpvflag

Function db_print_inpvflag

freebsd/netinet/in_pcb.c:3309–3327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3307}
3308
3309static void
3310db_print_inpvflag(u_char inp_vflag)
3311{
3312 int comma;
3313
3314 comma = 0;
3315 if (inp_vflag & INP_IPV4) {
3316 db_printf("%sINP_IPV4", comma ? ", " : "");
3317 comma = 1;
3318 }
3319 if (inp_vflag & INP_IPV6) {
3320 db_printf("%sINP_IPV6", comma ? ", " : "");
3321 comma = 1;
3322 }
3323 if (inp_vflag & INP_IPV6PROTO) {
3324 db_printf("%sINP_IPV6PROTO", comma ? ", " : "");
3325 comma = 1;
3326 }
3327}
3328
3329static void
3330db_print_inpcb(struct inpcb *inp, const char *name, int indent)

Callers 1

db_print_inpcbFunction · 0.85

Calls 1

db_printfFunction · 0.85

Tested by

no test coverage detected