/xnu-2422.115.4/bsd/netinet/ |
H A D | ip_encap.c | 179 int proto; local 189 proto = va_arg(ap, int); 198 proto = ip->ip_p; 215 if (ep->proto >= 0 && ep->proto != proto) 218 prio = (*ep->func)(m, off, proto, ep->arg); 271 if (proto == IPPROTO_IPV4) { 284 encap6_input(struct mbuf **mp, int *offp, int proto) argument 311 if (ep->proto > [all...] |
H A D | ip_encap.h | 66 int proto; /* -1: don't care, I'll check myself */ member in struct:encaptab
|
H A D | kpi_ipfilter_var.h | 58 extern void ip_proto_dispatch_in(struct mbuf *m, int hlen, u_int8_t proto,
|
H A D | in_gif.c | 115 int proto, error; local 135 proto = IPPROTO_IPV4; 150 proto = IPPROTO_IPV6; 179 iphdr.ip_p = proto; 245 int af, proto; local 249 proto = ip->ip_p; 263 switch (proto) { 326 __unused int proto, 323 gif_encapcheck4( const struct mbuf *m, __unused int off, __unused int proto, void *arg) argument
|
H A D | ip_flowid.h | 70 u_int8_t proto; member in struct:ip_flow_id
|
H A D | ip_fw2.c | 782 dst->proto = src->proto; 1143 char action2[40], proto[48], fragment[28]; local 1146 proto[0] = '\0'; 1231 snprintf(SNPARGS(proto, 0), "MAC"); 1253 len = snprintf(SNPARGS(proto, 0), "TCP %s", 1256 snprintf(SNPARGS(proto, len), ":%d %s:%d", 1261 snprintf(SNPARGS(proto, len), " %s", 1266 len = snprintf(SNPARGS(proto, 0), "UDP %s", 1269 snprintf(SNPARGS(proto, le 2066 u_int8_t proto; local [all...] |
/xnu-2422.115.4/bsd/miscfs/devfs/ |
H A D | devfs_proto.h | 40 int dev_add_node(int entrytype, devnode_type_t * typeinfo, devnode_t * proto, 48 devnode_t * proto, struct devfsmount *dvm, devdirent_t * *nm_pp);
|
H A D | reproto.sh | 48 if (m|/\*proto\*/|) {
|
H A D | devfs_tree.c | 177 /*proto*/ 495 * If typeinfo is null and proto exists, then the typeinfo field of 496 * the proto is used intead in the DEVFS_CREATE case. 506 dev_add_node(int entrytype, devnode_type_t * typeinfo, devnode_t * proto, argument 516 if (proto) { 517 dnp = proto->dn_nextsibling; 518 while( dnp != proto) { 526 typeinfo = &(proto->dn_typeinfo); 529 if ( proto ) { 530 switch (proto 1356 dev_add_entry(const char *name, devnode_t * parent, int type, devnode_type_t * typeinfo, devnode_t * proto, struct devfsmount *dvm, devdirent_t * *nm_pp) argument [all...] |
/xnu-2422.115.4/bsd/net/ |
H A D | ether_inet6_pr_module.c | 256 struct ifnet_attach_proto_param proto; local 261 bzero(&proto, sizeof (proto)); 265 proto.demux_list = demux; 266 proto.demux_count = 1; 267 proto.input = ether_inet6_input; 268 proto.pre_output = ether_inet6_pre_output; 269 proto.ioctl = ether_inet6_prmod_ioctl; 270 proto.resolve = ether_inet6_resolve_multi; 271 error = ifnet_attach_protocol(ifp, protocol_family, &proto); [all...] |
H A D | if_utun_crypto_ipsec.c | 74 utun_ipsec_proto_to_sadb_proto (if_utun_crypto_ipsec_proto_t proto) argument 76 switch (proto) { 87 utun_ipsec_proto_to_sadb_satype (if_utun_crypto_ipsec_proto_t proto) argument 89 switch (proto) { 175 u_int16_t proto, 184 if (proto != IPPROTO_ESP || 196 saidx.proto = proto; 424 u_int16_t proto; local 448 proto 173 utun_ipsec_set_sah(struct secashead **sah, u_int8_t dir, u_int16_t proto, u_int8_t mode, u_int32_t reqid, struct sockaddr_storage *src_addr, struct sockaddr_storage *dst_addr) argument 538 utun_ipsec_get_spi(struct sockaddr_storage *src_addr, struct sockaddr_storage *dst_addr, u_int16_t proto, u_int8_t mode, u_int32_t reqid, u_int32_t spirange_min, u_int32_t spirange_max) argument 561 u_int16_t proto; local 701 protocol_family_t proto; local [all...] |
H A D | ether_inet_pr_module.c | 544 struct ifnet_attach_proto_param_v2 proto; local 558 bzero(&proto, sizeof (proto)); 559 proto.demux_list = demux; 560 proto.demux_count = sizeof (demux) / sizeof (demux[0]); 561 proto.input = ether_inet_input; 562 proto.pre_output = ether_inet_pre_output; 563 proto.ioctl = ether_inet_prmod_ioctl; 564 proto.event = ether_inet_event; 565 proto [all...] |
H A D | pktap.c | 748 pktap_fill_proc_info(struct pktap_header *hdr, protocol_family_t proto, argument 771 if (proto == PF_INET) { 832 } else if (proto == PF_INET6) { 931 pktap_bpf_tap(struct ifnet *ifp, protocol_family_t proto, struct mbuf *m, argument 953 if ((proto == AF_INET ||proto == AF_INET6) && 970 u_int32_t proto; member in struct:__anon294 1003 hdr_buffer.proto = proto; 1005 pre_adjust = sizeof(hdr_buffer.proto); 1091 pktap_input(struct ifnet *ifp, protocol_family_t proto, struct mbuf *m, char *frame_header) argument 1122 pktap_output(struct ifnet *ifp, protocol_family_t proto, struct mbuf *m, u_int32_t pre, u_int32_t post) argument [all...] |
H A D | raw_usrreq.c | 113 raw_input(struct mbuf *m0, struct sockproto *proto, struct sockaddr *src, argument 129 if (rp->rcb_proto.sp_family != proto->sp_family) 132 rp->rcb_proto.sp_protocol != proto->sp_protocol) 209 raw_uattach(struct socket *so, int proto, __unused struct proc *p) argument 217 return raw_attach(so, proto);
|
H A D | raw_cb.c | 93 raw_attach(struct socket *so, int proto) argument 110 rp->rcb_proto.sp_protocol = proto;
|
H A D | pf.c | 825 if ((diff = a->proto - b->proto) != 0) 832 switch (a->proto) { 954 if ((diff = a->proto - b->proto) != 0) 962 switch (a->proto) { 1387 switch (sk->proto) { 1401 printf("PROTO=%u", sk->proto); 1405 pf_print_sk_host(&sk->lan, sk->af, sk->proto, 1408 pf_print_sk_host(&sk->gwy, sk->af, sk->proto, 1843 pf_print_sk_host(struct pf_state_host *sh, sa_family_t af, int proto, u_int8_t proto_variant) argument 2743 pf_match_xport(u_int8_t proto, u_int8_t proto_variant, union pf_rule_xport *rx, union pf_state_xport *sx) argument 3217 u_int8_t proto = pd->proto; local [all...] |
H A D | dlil.c | 283 static unsigned int dlif_phash_size; /* size of ifnet proto hash table */ 284 static struct zone *dlif_phash_zone; /* zone for ifnet proto hash table */ 769 struct if_proto *proto = NULL; local 775 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); 777 while (proto != NULL && proto->protocol_family != protocol_family) 778 proto = SLIST_NEXT(proto, next_hash); 780 if (proto != NULL) 781 if_proto_ref(proto); 787 if_proto_ref(struct if_proto *proto) argument 795 if_proto_free(struct if_proto *proto) argument 942 struct if_proto *proto; local 3490 struct if_proto *proto; local 3691 struct if_proto *proto = NULL; local 4031 struct if_proto *proto; local 4108 struct if_proto *proto; local 4148 struct if_proto *proto; local 4519 dlil_attach_protocol_internal(struct if_proto *proto, const struct ifnet_demux_desc *demux_list, u_int32_t demux_count) argument 4693 struct if_proto *proto = NULL; local 5576 struct if_proto *proto; local [all...] |
H A D | iptap.c | 108 void iptap_bpf_tap(struct mbuf *m, u_int32_t proto, int outgoing); 534 iptap_ipf_input(void *arg, mbuf_t *mp, int off, u_int8_t proto) argument 537 #pragma unused(proto) 579 iptap_bpf_tap(struct mbuf *m, u_int32_t proto, int outgoing) argument 595 u_int32_t proto; member in struct:__anon212 611 hdr_buffer.proto = proto; 613 hdr->pth_protocol_family = proto; 619 pktap_fill_proc_info(hdr, proto, m, 0, outgoing, ifp);
|
/xnu-2422.115.4/bsd/nfs/ |
H A D | krpc.h | 43 u_int prog, u_int vers, u_int proto, u_int16_t *portp);
|
/xnu-2422.115.4/bsd/netinet6/ |
H A D | dest6.c | 57 dest6_input(struct mbuf **mp, int *offp, int proto) argument 59 #pragma unused(proto)
|
H A D | route6.c | 77 route6_input(struct mbuf **mp, int *offp, int proto) argument 79 #pragma unused(proto)
|
H A D | in6_gif.c | 112 int proto; local 130 proto = IPPROTO_IPV4; 144 proto = IPPROTO_IPV6; 178 ip6->ip6_nxt = proto; 241 in6_gif_input(struct mbuf **mp, int *offp, int proto) argument 262 switch (proto) { 380 __unused int proto, 377 gif_encapcheck6( const struct mbuf *m, __unused int off, __unused int proto, void *arg) argument
|
H A D | ip6_fw.c | 426 char action2[32], proto[102], name[18]; local 476 len = snprintf(SNPARGS(proto, 0), "TCP [%s]", 479 len += snprintf(SNPARGS(proto, len), ":%d ", 482 len += snprintf(SNPARGS(proto, len), " "); 483 len += snprintf(SNPARGS(proto, len), "[%s]", 486 snprintf(SNPARGS(proto, len), ":%d", 490 len = snprintf(SNPARGS(proto, 0), "UDP [%s]", 493 len += snprintf(SNPARGS(proto, len), ":%d ", 496 len += snprintf(SNPARGS(proto, len), " "); 497 len += snprintf(SNPARGS(proto, le [all...] |
/xnu-2422.115.4/bsd/kern/ |
H A D | makesyscalls.sh | 66 echo "usage: $0 input-file [<names|proto|header|table|audit> [<config-file>]]" 1>&2 79 proto)
|
/xnu-2422.115.4/bsd/netkey/ |
H A D | key.h | 87 u_int8_t proto,
|