Searched refs:ip_p (Results 26 - 50 of 129) sorted by relevance

123456

/freebsd-11-stable/usr.sbin/ppp/
H A Dvjcomp.c84 if (*proto == PROTO_IP && pip->ip_p == IPPROTO_TCP &&
/freebsd-11-stable/contrib/wpa/src/common/
H A Ddhcp.h23 #define protocol ip_p
/freebsd-11-stable/sys/kern/
H A Duipc_mbufhash.c131 switch (ip->ip_p) {
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Diptests.c118 ip->ip_p = IPPROTO_UDP;
308 ip->ip_p = IPPROTO_ICMP;
339 ip->ip_p = IPPROTO_ICMP;
379 ip->ip_p = IPPROTO_ICMP;
482 ip->ip_p = IPPROTO_IP;
567 ip->ip_p = IPPROTO_ICMP;
767 ip->ip_p = IPPROTO_UDP;
1278 ip->ip_p = IPPROTO_UDP;
/freebsd-11-stable/sys/netinet/
H A Dip_icmp.c229 if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT &&
242 if (oip->ip_p == IPPROTO_TCP) {
266 } else if (oip->ip_p == IPPROTO_SCTP) {
373 nip->ip_p = IPPROTO_ICMP;
531 printf("deliver to protocol %d\n", icp->icmp_ip.ip_p);
555 ctlfunc = inetsw[ip_protox[icp->icmp_ip.ip_p]].pr_ctlinput;
H A Dip_reass.c248 hashkey[2] = (uint32_t)ip->ip_p << 16;
266 ip->ip_p == fp->ipq_p)
291 fp->ipq_p = ip->ip_p;
H A Din_gif.c127 ip->ip_p = proto;
H A Din_rss.c205 proto = ip->ip_p;
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipmon_y.y519 if (ip->ip_p != IPPROTO_UDP &&
520 ip->ip_p != IPPROTO_TCP) {
546 if (a->ac_proto != ip->ip_p) {
591 if (ip->ip_p != IPPROTO_UDP &&
592 ip->ip_p != IPPROTO_TCP) {
/freebsd-11-stable/sys/net/
H A Dif_me.c463 ip->ip_p = mh->mob_proto;
585 mh.mob_proto = ip->ip_p;
621 ip->ip_p = IPPROTO_MOBILE;
H A Dif_spppfr.c324 (ip->ip_p == IPPROTO_UDP ||
325 ip->ip_p == IPPROTO_TCP && ! tcp->th_flags))
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_pptp_pxy.c207 p = ip->ip_p;
224 ip->ip_p = IPPROTO_GRE;
271 ip->ip_p = p;
/freebsd-11-stable/sys/netgraph/
H A Dng_checksum.c352 switch (ip4->ip_p)
362 ip4->ip_dst.s_addr, htons(ip4->ip_p + plen - hlen));
383 ip4->ip_dst.s_addr, htons(ip4->ip_p + plen - hlen));
H A Dng_vjc.c418 if (ip->ip_p == IPPROTO_TCP) {
600 if (!knownTCP && ip->ip_p != IPPROTO_TCP)
H A Dng_tcpmss.c314 if (!(ip->ip_p == IPPROTO_TCP))
/freebsd-11-stable/sbin/natd/
H A Dnatd.c560 switch (ip->ip_p) {
574 printf ("[%d] ", ip->ip_p);
699 switch (ip->ip_p) {
713 printf ("[%d] ", ip->ip_p);
853 switch (ip->ip_p) {
882 sprintf (buf, "[%d] %s -> %s ", ip->ip_p, src, dst);
/freebsd-11-stable/sbin/dhclient/
H A Dpacket.c124 ip.ip_p = IPPROTO_UDP;
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-sl.c173 lastconn = ((const struct ip *)&p[SLX_CHDR])->ip_p;
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c493 ip->ip_p = (proto == IPPROTO_ICMPV6) ? IPPROTO_ICMP: proto;
750 if (ip->ip_p == IPPROTO_ICMP) {
793 oip->ip_p = IPPROTO_ICMP;
1058 eip6->ip6_nxt = (ip.ip_p == IPPROTO_ICMP) ? IPPROTO_ICMPV6: ip.ip_p;
1064 switch (ip.ip_p) {
1196 proto = ip->ip_p;
/freebsd-11-stable/sbin/ping/
H A Dping.c719 ip->ip_p = IPPROTO_ICMP;
1271 (oip->ip_p == IPPROTO_ICMP) &&
1684 (void)printf(" %02x %02x %04x", ip->ip_ttl, ip->ip_p,
1740 if (ip->ip_p == 6)
1743 else if (ip->ip_p == 17)
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_proxy.c466 struct in_addr dst_addr, u_short dst_port, u_char ip_p)
478 && ip_p == ptr->proto
464 ProxyCheck(struct libalias *la, struct in_addr *proxy_server_addr, u_short * proxy_server_port, struct in_addr src_addr, struct in_addr dst_addr, u_short dst_port, u_char ip_p) argument
/freebsd-11-stable/sys/netipsec/
H A Dipsec_input.c248 offsetof(struct ip, ip_p), AF_INET, proto);
318 prot = ip->ip_p;
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.c257 *((uint8_t *) &tuple[0]) = ip->ip_p;
262 switch (ip->ip_p) {
/freebsd-11-stable/tools/tools/net80211/wesside/dics/
H A Ddics.c245 iph->ip_p = IPPROTO_UDP;
/freebsd-11-stable/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c388 ip->ip_p = IPPROTO_ICMP;

Completed in 178 milliseconds

123456