| 3307 | } |
| 3308 | |
| 3309 | static void |
| 3310 | db_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 | |
| 3329 | static void |
| 3330 | db_print_inpcb(struct inpcb *inp, const char *name, int indent) |
no test coverage detected