Searched refs:opttype (Results 1 – 6 of 6) sorted by relevance
| /src/contrib/tcpdump/ |
| H A D | print-ip6opts.c | 46 unsigned int i, opttype, optlen; in ip6_sopt_print() local 49 opttype = GET_U_1(bp + i); in ip6_sopt_print() 50 if (opttype == IP6OPT_PAD1) in ip6_sopt_print() 60 switch (opttype) { in ip6_sopt_print() 68 ND_PRINT(", unknown subopt-type 0x%02x len=%u", opttype, optlen - 2); in ip6_sopt_print() 82 unsigned int i, opttype, optlen; in ip6_opt_process() local 89 opttype = GET_U_1(bp + i); in ip6_opt_process() 90 if (opttype == IP6OPT_PAD1) in ip6_opt_process() 100 switch (opttype) { in ip6_opt_process() 173 ND_PRINT("(unknown opt-type 0x%02x len=%u)", opttype, optlen - 2); in ip6_opt_process()
|
| H A D | print-mobility.c | 123 unsigned i, opttype, optlen; in mobility_opt_print() local 126 opttype = GET_U_1(bp + i); in mobility_opt_print() 127 if (opttype == IP6MOPT_PAD1) in mobility_opt_print() 137 switch (opttype) { in mobility_opt_print() 172 ND_PRINT("type-#%u len=%u)", opttype, optlen - 2); in mobility_opt_print()
|
| H A D | print-dhcp6.c | 287 uint16_t opttype; in dhcp6opt_print() local 312 opttype = GET_BE_U_2(dh6o->dh6opt_type); in dhcp6opt_print() 313 ND_PRINT(" (%s", tok2str(dh6opt_str, "opt_%u", opttype)); in dhcp6opt_print() 315 switch (opttype) { in dhcp6opt_print()
|
| /src/share/examples/ipfilter/ |
| H A D | BNF | 46 withopt = [ "not" | "no" ] opttype [ [ "," ] withopt ] . 47 opttype = "ipopts" | "short" | "nat" | "bad-src" | "lowttl" | "frag" |
|
| /src/sys/netinet/ |
| H A D | raw_ip.c | 429 u_char opttype, optlen, *cp; in rip_send() local 579 opttype = cp[IPOPT_OPTVAL]; in rip_send() 580 if (opttype == IPOPT_EOL) in rip_send() 582 if (opttype == IPOPT_NOP) { in rip_send()
|
| /src/sbin/ipf/common/ |
| H A D | ipf_y.y | 108 %type <num> opt compare range opttype flagset optlist ipv6hdrlist ipv6hdr 1452 opttype { DOALL(fr->fr_flx |= $1; fr->fr_mflx |= $1;) } 1453 | notwith opttype { DOALL(fr->fr_mflx |= $2;) } 1474 opttype:
|