Home
last modified time | relevance | path

Searched refs:IPOPT_OLEN (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/sys/netinet/
H A Dip_options.c135 if (cnt < IPOPT_OLEN + sizeof(*cp)) { in ip_dooptions()
136 code = &cp[IPOPT_OLEN] - (u_char *)ip; in ip_dooptions()
139 optlen = cp[IPOPT_OLEN]; in ip_dooptions()
141 code = &cp[IPOPT_OLEN] - (u_char *)ip; in ip_dooptions()
409 olen = option[IPOPT_OLEN]; in save_rte()
578 optlen = cp[IPOPT_OLEN]; in ip_optcopy()
646 if (cnt < IPOPT_OLEN + sizeof(*cp)) in ip_pcbopts()
648 optlen = cp[IPOPT_OLEN]; in ip_pcbopts()
675 cp[IPOPT_OLEN] = optlen; in ip_pcbopts()
735 if (cnt < IPOPT_OLEN + sizeof(*cp)) in ip_checkrouteralert()
[all …]
H A Dip.h166 #define IPOPT_OLEN 1 /* option length */ macro
H A Dip_icmp.c894 if (cnt < IPOPT_OLEN + sizeof(*cp)) in icmp_reflect()
896 len = cp[IPOPT_OLEN]; in icmp_reflect()
897 if (len < IPOPT_OLEN + sizeof(*cp) || in icmp_reflect()
H A Draw_ip.c586 if (cnt < IPOPT_OLEN + sizeof(u_char)) { in rip_output()
591 optlen = cp[IPOPT_OLEN]; in rip_output()
592 if (optlen < IPOPT_OLEN + sizeof(u_char) || in rip_output()
/freebsd-13.1/sbin/ipf/libipf/
H A Daddipopt.c43 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4; in addipopt()
48 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4; in addipopt()
/freebsd-13.1/contrib/tcp_wrappers/
H A Dfix_options.c28 #define IPOPT_OLEN 1 macro
114 optlen = cp[IPOPT_OLEN];
/freebsd-13.1/contrib/tcpdump/
H A Dip.h118 #define IPOPT_OLEN 1 /* option length */ macro
/freebsd-13.1/sbin/ipf/ipsend/
H A Diptests.c476 s[IPOPT_OLEN] = 4;
493 s[IPOPT_OLEN] = 0;
500 s[IPOPT_OLEN] = 0;
507 s[IPOPT_OLEN] = 0;
514 s[IPOPT_OLEN] = 0;
521 s[IPOPT_OLEN] = 0;
528 s[IPOPT_OLEN] = 0;
H A Dipsopt.c133 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4 * srr; in addipopt()
/freebsd-13.1/sbin/ping/
H A Dping.c753 rspace[IPOPT_OLEN] = sizeof(rspace) - 1; in ping()
1379 j = cp[IPOPT_OLEN] - IPOPT_MINOFF + 1; in pr_pack()
1402 j = cp[IPOPT_OLEN]; /* get length */ in pr_pack()
/freebsd-13.1/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c2651 lsr[IPOPT_OLEN] = lsrp - lsr; in sourceroute()
2652 if (lsr[IPOPT_OLEN] <= 7 || lsr[IPOPT_OLEN] > 40) in sourceroute()
/freebsd-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h889 #ifndef IPOPT_OLEN
890 # define IPOPT_OLEN 1 macro
/freebsd-13.1/contrib/telnet/telnet/
H A Dcommands.c2999 if ((*(*cpp+IPOPT_OLEN) = lsrp - *cpp) <= 7) { in sourceroute()
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_fw2.c320 optlen = cp[IPOPT_OLEN]; in ipopts_match()