Home
last modified time | relevance | path

Searched refs:ipproto (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/sbin/ipf/iplang/
H A Diplang_l.l202 ipproto = prstack[numpr];
258 oldipproto = ipproto;
259 ipproto = nstate;
262 if (ipproto == IL_IPV4)
264 else if (ipproto == IL_TCP)
270 if (ipproto == IL_IPV4)
276 if (ipproto == IL_TCP)
280 if (ipproto == IL_TCP)
284 if (ipproto == IL_TCP)
288 if (ipproto == IL_IPV4)
[all …]
/freebsd-14.2/contrib/tcp_wrappers/
H A Dfix_options.c43 int optsize = sizeof(optbuf), ipproto; in fix_options() local
67 ipproto = ip->p_proto; in fix_options()
69 ipproto = IPPROTO_IP; in fix_options()
71 if (getsockopt(fd, ipproto, IP_OPTIONS, (char *) optbuf, &optsize) == 0 in fix_options()
124 if (setsockopt(fd, ipproto, IP_OPTIONS, (char *) 0, optsize) != 0) { in fix_options()
/freebsd-14.2/sbin/setkey/
H A Dsetkey.c488 static const char *ipproto[] = { variable
574 printf("%s ", STR_OR_ID(saddr->sadb_address_proto, ipproto)); in shortdump()
589 printf("%s ", STR_OR_ID(saddr->sadb_address_proto, ipproto)); in shortdump()
/freebsd-14.2/sys/dev/ena/
H A Dena_datapath.c719 int ipproto; in ena_tx_csum() local
766 ipproto = ip->ip_p; in ena_tx_csum()
773 iphlen = ip6_lasthdr(mbuf, ehdrlen, IPPROTO_IPV6, &ipproto); in ena_tx_csum()
779 ipproto = 0; in ena_tx_csum()
794 if (ipproto == IPPROTO_TCP) { in ena_tx_csum()
801 } else if (ipproto == IPPROTO_UDP) { in ena_tx_csum()
/freebsd-14.2/contrib/tcpdump/
H A DINSTALL.md101 ipproto.c - IP protocol type value-to-name table
102 ipproto.h - IP protocol type value definitions
H A DMakefile.in85 ipproto.c \
291 ipproto.h \
H A DCMakeLists.txt1224 ipproto.c
/freebsd-14.2/usr.sbin/tcpdump/tcpdump/
H A DMakefile18 ipproto.c \
/freebsd-14.2/sys/dev/al_eth/
H A Dal_eth.c1207 uint8_t ipproto = 0; in al_eth_tx_csum() local
1248 ipproto = ip->ip_p; in al_eth_tx_csum()
1253 if (ipproto == IPPROTO_TCP) in al_eth_tx_csum()
1265 ipproto = ip6->ip6_nxt; in al_eth_tx_csum()
1266 if (ipproto == IPPROTO_TCP) in al_eth_tx_csum()
/freebsd-14.2/contrib/libpcap/
H A Dgencode.c6675 nametoport(compiler_state_t *cstate, const char *name, int ipproto) in nametoport() argument
6691 hints.ai_socktype = (ipproto == IPPROTO_TCP) ? SOCK_STREAM : SOCK_DGRAM; in nametoport()
6692 hints.ai_protocol = ipproto; in nametoport()