Home
last modified time | relevance | path

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

/freebsd-14.2/sys/netinet/
H A Dip_options.c133 if (cnt < IPOPT_OLEN + sizeof(*cp)) { in ip_dooptions()
134 code = &cp[IPOPT_OLEN] - (u_char *)ip; in ip_dooptions()
137 optlen = cp[IPOPT_OLEN]; in ip_dooptions()
139 code = &cp[IPOPT_OLEN] - (u_char *)ip; in ip_dooptions()
407 olen = option[IPOPT_OLEN]; in save_rte()
576 optlen = cp[IPOPT_OLEN]; in ip_optcopy()
644 if (cnt < IPOPT_OLEN + sizeof(*cp)) in ip_pcbopts()
646 optlen = cp[IPOPT_OLEN]; in ip_pcbopts()
673 cp[IPOPT_OLEN] = optlen; in ip_pcbopts()
733 if (cnt < IPOPT_OLEN + sizeof(*cp)) in ip_checkrouteralert()
[all …]
H A Dip.h165 #define IPOPT_OLEN 1 /* option length */ macro
H A Draw_ip.c571 if (cnt < IPOPT_OLEN + sizeof(u_char)) { in rip_send()
576 optlen = cp[IPOPT_OLEN]; in rip_send()
577 if (optlen < IPOPT_OLEN + sizeof(u_char) || in rip_send()
H A Dip_icmp.c911 if (cnt < IPOPT_OLEN + sizeof(*cp)) in icmp_reflect()
913 len = cp[IPOPT_OLEN]; in icmp_reflect()
914 if (len < IPOPT_OLEN + sizeof(*cp) || in icmp_reflect()
/freebsd-14.2/sbin/ipf/libipf/
H A Daddipopt.c42 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4; in addipopt()
47 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4; in addipopt()
/freebsd-14.2/contrib/tcp_wrappers/
H A Dfix_options.c28 #define IPOPT_OLEN 1 macro
113 optlen = cp[IPOPT_OLEN]; in fix_options()
/freebsd-14.2/contrib/tcpdump/
H A Dip.h117 #define IPOPT_OLEN 1 /* option length */ macro
/freebsd-14.2/sbin/ipf/ipsend/
H A Diptests.c475 s[IPOPT_OLEN] = 4;
492 s[IPOPT_OLEN] = 0;
499 s[IPOPT_OLEN] = 0;
506 s[IPOPT_OLEN] = 0;
513 s[IPOPT_OLEN] = 0;
520 s[IPOPT_OLEN] = 0;
527 s[IPOPT_OLEN] = 0;
H A Dipsopt.c132 s[IPOPT_OLEN] = IPOPT_MINOFF - 1 + 4 * srr; in addipopt()
/freebsd-14.2/sbin/ping/
H A Dping.c736 rspace[IPOPT_OLEN] = sizeof(rspace) - 1; in ping()
1353 j = cp[IPOPT_OLEN] - IPOPT_MINOFF + 1; in pr_pack()
1376 j = cp[IPOPT_OLEN]; /* get length */ in pr_pack()
/freebsd-14.2/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-14.2/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h889 #ifndef IPOPT_OLEN
890 # define IPOPT_OLEN 1 macro
/freebsd-14.2/contrib/telnet/telnet/
H A Dcommands.c3004 if ((*(*cpp+IPOPT_OLEN) = lsrp - *cpp) <= 7) { in sourceroute()
/freebsd-14.2/sys/netpfil/ipfw/
H A Dip_fw2.c320 optlen = cp[IPOPT_OLEN]; in ipopts_match()