Searched refs:IPPROTO_DIVERT (Results 1 – 14 of 14) sorted by relevance
| /freebsd-13.1/tests/sys/common/ |
| H A D | divert.py | 39 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 D | ipdivert.c | 79 s = socket(PF_INET, SOCK_RAW, IPPROTO_DIVERT); in ipdivert_create()
|
| /freebsd-13.1/sys/netinet/ |
| H A D | ip_divert.c | 775 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 D | in.h | 262 #define IPPROTO_DIVERT 258 /* divert pseudo-protocol */ macro
|
| H A D | in_mcast.c | 1798 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 D | ipfwpcap.c | 205 if ((r = socket(PF_INET, SOCK_RAW, IPPROTO_DIVERT)) == -1) { in main()
|
| /freebsd-13.1/sbin/natd/ |
| H A D | natd.c | 229 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 D | procstat_files.c | 71 case IPPROTO_DIVERT: in protocol_to_string()
|
| /freebsd-13.1/usr.bin/sockstat/ |
| H A D | sockstat.c | 608 case IPPROTO_DIVERT: in gather_inet() 658 case IPPROTO_DIVERT: in gather_inet()
|
| /freebsd-13.1/share/examples/netgraph/ |
| H A D | ngctl | 35 # of type SOCK_RAW, and protocol IPPROTO_DIVERT:
|
| /freebsd-13.1/usr.bin/netstat/ |
| H A D | main.c | 104 NULL, NULL, "divert", 1, IPPROTO_DIVERT },
|
| H A D | inet.c | 112 case IPPROTO_DIVERT: in pcblist_sysctl()
|
| /freebsd-13.1/sys/netgraph/ |
| H A D | ng_ksocket.c | 150 { "divert", IPPROTO_DIVERT, PF_INET },
|
| /freebsd-13.1/sys/netinet6/ |
| H A D | in6_mcast.c | 1767 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()
|