Home
last modified time | relevance | path

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

/freebsd-13.1/tests/sys/common/
H A Ddivert.py39 IPPROTO_DIVERT = 258 variable
54 with socket.socket(socket.AF_INET, socket.SOCK_RAW, IPPROTO_DIVERT) as s:
61 with socket.socket(socket.AF_INET, socket.SOCK_RAW, IPPROTO_DIVERT) as s:
69 with socket.socket(socket.AF_INET, socket.SOCK_RAW, IPPROTO_DIVERT) as s:
/freebsd-13.1/tools/regression/netinet/ipdivert/
H A Dipdivert.c79 s = socket(PF_INET, SOCK_RAW, IPPROTO_DIVERT); in ipdivert_create()
/freebsd-13.1/sys/netinet/
H A Dip_divert.c775 static SYSCTL_NODE(_net_inet, IPPROTO_DIVERT, divert,
798 .pr_protocol = IPPROTO_DIVERT,
853 err = pf_proto_unregister(PF_INET, IPPROTO_DIVERT, SOCK_RAW); in div_modevent()
H A Din.h262 #define IPPROTO_DIVERT 258 /* divert pseudo-protocol */ macro
H A Din_mcast.c1798 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in inp_getmoptions()
2763 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in inp_setmoptions()
/freebsd-13.1/usr.sbin/ipfwpcap/
H A Dipfwpcap.c205 if ((r = socket(PF_INET, SOCK_RAW, IPPROTO_DIVERT)) == -1) { in main()
/freebsd-13.1/sbin/natd/
H A Dnatd.c229 mip->divertInOut = socket (PF_INET, SOCK_RAW, IPPROTO_DIVERT); in main()
252 mip->divertIn = socket (PF_INET, SOCK_RAW, IPPROTO_DIVERT); in main()
259 mip->divertOut = socket (PF_INET, SOCK_RAW, IPPROTO_DIVERT); in main()
320 divertGlobal = socket (PF_INET, SOCK_RAW, IPPROTO_DIVERT); in main()
/freebsd-13.1/usr.bin/procstat/
H A Dprocstat_files.c71 case IPPROTO_DIVERT: in protocol_to_string()
/freebsd-13.1/usr.bin/sockstat/
H A Dsockstat.c608 case IPPROTO_DIVERT: in gather_inet()
658 case IPPROTO_DIVERT: in gather_inet()
/freebsd-13.1/share/examples/netgraph/
H A Dngctl35 # of type SOCK_RAW, and protocol IPPROTO_DIVERT:
/freebsd-13.1/usr.bin/netstat/
H A Dmain.c104 NULL, NULL, "divert", 1, IPPROTO_DIVERT },
H A Dinet.c112 case IPPROTO_DIVERT: in pcblist_sysctl()
/freebsd-13.1/sys/netgraph/
H A Dng_ksocket.c150 { "divert", IPPROTO_DIVERT, PF_INET },
/freebsd-13.1/sys/netinet6/
H A Din6_mcast.c1767 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in ip6_getmoptions()
2638 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in ip6_setmoptions()