Lines Matching +full:ip +full:- +full:76
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
40 #define IPPROTO_IP 0 /* dummy for IP */
126 #define IPPROTO_RAW 255 /* raw IP packet */
139 #define IPPROTO_HOPOPTS 0 /* IP6 hop-by-hop options */
159 #define IPPROTO_TRUNK1 23 /* Trunk-1 */
160 #define IPPROTO_TRUNK2 24 /* Trunk-2 */
161 #define IPPROTO_LEAF1 25 /* Leaf-1 */
162 #define IPPROTO_LEAF2 26 /* Leaf-2 */
165 #define IPPROTO_TP 29 /* tp-4 w/ class negotiation */
188 #define IPPROTO_SWIPE 53 /* IP with encryption */
190 #define IPPROTO_MOBILE 55 /* IP Mobility */
211 #define IPPROTO_BRSATMON 76 /* BackRoom SATNET Monitoring */
220 #define IPPROTO_IGP 85 /* NSFNET-IGP */
229 #define IPPROTO_IPEIP 94 /* IP encapsulated in IP */
232 #define IPPROTO_ETHERIP 97 /* Ethernet IP encapsulation */
239 #define IPPROTO_UDPLITE 136 /* UDP-Lite */
242 /* 101-254: Partly Unassigned */
246 #define IPPROTO_MPLS 137 /* MPLS-in-IP */
252 #define IPPROTO_OLD_DIVERT 254 /* OLD divert pseudo-proto */
258 /* Only used internally, so can be outside the range of valid IP protocols. */
259 #define IPPROTO_DIVERT 258 /* divert pseudo-protocol */
260 #define IPPROTO_SEND 259 /* SeND pseudo-protocol */
272 * a non-conflicting local port address is chosen.
291 * sysctl(3). (net.inet.ip.portrange.{hi,low,}{first,last})
303 * ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers
307 * 0 - 1023 Well Known Ports
308 * 1024 - 49151 Registered Ports
309 * 49152 - 65535 Dynamic and/or Private Ports
334 * 512, but that conflicts with some well-known-services that firewalls may
343 * (pre-CIDR). Class A/B/C are long obsolete, and now deprecated.
402 #define INADDR_NONE ((in_addr_t)0xffffffff) /* -1 return */
433 * Options for use with [gs]etsockopt at the IP level.
436 #define IP_OPTIONS 1 /* buf/ip_opts; set/get IP options */
438 #define IP_TOS 3 /* int; IP type of service and preced. */
439 #define IP_TTL 4 /* int; IP time to live */
440 #define IP_RECVOPTS 5 /* bool; receive all IP opts w/dgram */
441 #define IP_RECVRETOPTS 6 /* bool; receive IP opts for response */
442 #define IP_RECVDSTADDR 7 /* bool; receive IP dst addr w/dgram */
444 #define IP_RETOPTS 8 /* ip_opts; set/get IP options */
446 * set/get IP multicast i/f */
447 #define IP_MULTICAST_TTL 10 /* u_char; set/get IP multicast ttl */
448 #define IP_MULTICAST_LOOP 11 /* u_char; set/get IP multicast loopback */
449 #define IP_ADD_MEMBERSHIP 12 /* ip_mreq; add an IP group membership */
450 #define IP_DROP_MEMBERSHIP 13 /* ip_mreq; drop an IP group membership */
451 #define IP_MULTICAST_VIF 14 /* set/get IP mcast virt. iface */
454 #define IP_RSVP_VIF_ON 17 /* set RSVP per-vif socket */
455 #define IP_RSVP_VIF_OFF 18 /* unset RSVP per-vif socket */
461 #define IP_ONESBCAST 23 /* bool: send all-ones broadcast */
465 #define IP_ORIGDSTADDR 27 /* bool: receive IP dst addr/port w/dgram */
499 #define IP_RECVTTL 65 /* bool; receive IP TTL w/dgram */
502 #define IP_RECVTOS 68 /* bool; receive IP TOS w/dgram */
505 #define IP_ADD_SOURCE_MEMBERSHIP 70 /* join a source-specific group */
515 /* -1 use interface default */
518 #define MCAST_JOIN_GROUP 80 /* join an any-source group */
520 #define MCAST_JOIN_SOURCE_GROUP 82 /* join a source-specific group */
528 #define IP_RSSBUCKETID 92 /* get RSS flowid -> bucket mapping */
529 #define IP_RECVFLOWID 93 /* bool; receive IP flowid/flowtype w/ datagram */
530 #define IP_RECVRSSBUCKETID 94 /* bool; receive IP RSS bucket id w/ datagram */
555 struct in_addr imr_multiaddr; /* IP multicast address of group */
556 struct in_addr imr_interface; /* local IP address of interface */
565 struct in_addr imr_multiaddr; /* IP multicast address of group */
566 struct in_addr imr_address; /* local IP address of interface */
574 struct in_addr imr_multiaddr; /* IP multicast address of group */
575 struct in_addr imr_sourceaddr; /* IP address of source */
576 struct in_addr imr_interface; /* local IP address of interface */
580 * Argument structures for Protocol-Independent Multicast Source
616 * Advanced (Full-state) APIs [RFC3678]
630 * Filter modes; also used to represent per-socket filter mode internally.
638 * - which range to search when port is unspecified at bind() or connect()
641 #define IP_PORTRANGE_HIGH 1 /* "high" - request firewall bypass */
642 #define IP_PORTRANGE_LOW 2 /* "low" - vouchsafe security */
645 * Identifiers for IP sysctl nodes
657 #define IPCTL_DIRECTEDBROADCAST 9 /* may re-broadcast received packets */
662 #define IPCTL_FASTFORWARDING 14 /* use fast IP forwarding code */