Home
last modified time | relevance | path

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

/freebsd/sbin/ipf/iplang/
H A Diplang_l.l28 int lineNum = 0, ipproto = 0, oldipproto = 0, next = -1, laststate = 0; variable
202 ipproto = prstack[numpr];
258 oldipproto = ipproto;
259 ipproto = nstate;
262 if (ipproto == IL_IPV4)
264 else if (ipproto == IL_TCP)
266 else if (ipproto == IL_UDP)
270 if (ipproto == IL_IPV4)
272 else if (ipproto == IL_TCP)
276 if (ipproto == IL_TCP)
[all …]
/freebsd/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/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/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/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/usr.sbin/tcpdump/tcpdump/
H A DMakefile17 ipproto.c \
/freebsd/sys/dev/al_eth/
H A Dal_eth.c1206 uint8_t ipproto = 0; in al_eth_tx_csum() local
1247 ipproto = ip->ip_p; in al_eth_tx_csum()
1252 if (ipproto == IPPROTO_TCP) in al_eth_tx_csum()
1264 ipproto = ip6->ip6_nxt; in al_eth_tx_csum()
1265 if (ipproto == IPPROTO_TCP) in al_eth_tx_csum()
/freebsd/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()