Searched refs:proto (Results 51 - 75 of 92) sorted by relevance

1234

/xnu-2422.115.4/bsd/net/
H A Dif_gif.c481 int proto,
500 switch (proto) {
521 error = gif_encapcheck4(m, off, proto, arg);
528 error = gif_encapcheck6(m, off, proto, arg);
478 gif_encapcheck( const struct mbuf *m, int off, int proto, void *arg) argument
H A Dndrv.c211 ndrv_attach(struct socket *so, int proto, __unused struct proc *p) argument
220 kprintf("NDRV attach: %x, %x, %x\n", so, proto, np);
232 kprintf("NDRV attach: %x, %x, %x\n", so, proto, np);
238 np->nd_proto.sp_protocol = proto;
H A Dpf_ioctl.c1219 pf_hash_rule_addr(MD5_CTX *ctx, struct pf_rule_addr *pfr, u_int8_t proto) argument
1240 switch (proto) {
1261 pf_hash_rule_addr(ctx, &rule->src, rule->proto);
1262 pf_hash_rule_addr(ctx, &rule->dst, rule->proto);
1284 PF_MD5_UPD(rule, proto);
1427 sp->proto = sk->proto;
1480 sk->proto = sp->proto;
3662 (!psk->psk_proto || psk->psk_proto == sk->proto)
[all...]
H A Dbridgestp.c1396 bstp_set_port_proto(struct bstp_port *bp, int proto) argument
1401 switch (proto) {
1418 DPRINTF("Unsupported STP version %d\n", proto);
1422 bp->bp_protover = proto;
1624 bstp_set_protocol(struct bstp_state *bs, int proto) argument
1628 switch (proto) {
1639 bs->bs_protover = proto;
H A Dpfvar.h760 u_int8_t proto; member in struct:pf_rule
980 u_int8_t proto; member in struct:pf_state_key_cmp
993 u_int8_t proto; member in struct:pf_state_key
1019 u_int32_t proto; member in struct:pf_flowhash_key
1119 u_int8_t proto; member in struct:pfsync_state
1434 u_int8_t proto; member in struct:pf_pdesc
1477 "proto-cksum", \
1765 u_int8_t proto; member in struct:pfioc_natlook
H A Dpf_osfp.c97 pd->proto != IPPROTO_TCP ||
/xnu-2422.115.4/bsd/netinet/
H A Dip_fw2.h409 u_int8_t proto; member in struct:ipfw_flow_id
H A Dip_divert.c453 div_attach(struct socket *so, int proto, struct proc *p) argument
472 inp->inp_ip_p = proto;
H A Dip_dummynet.c1285 id->proto &= fs->flow_mask.proto ;
1313 (id->proto ) ^
1324 (id->proto );
1336 id->proto == q->id.proto &&
1345 id->proto == q->id.proto &&
H A Dip_icmp.c1003 __private_extern__ int icmp_dgram_attach(struct socket *so, int proto, struct proc *p);
1024 icmp_dgram_attach(struct socket *so, __unused int proto, struct proc *p) argument
H A Draw_ip.c825 rip_attach(struct socket *so, int proto, struct proc *p) argument
844 inp->inp_ip_p = proto;
H A Dip_input.c557 ip_proto_dispatch_in_wrapper(struct mbuf *m, int hlen, u_int8_t proto) argument
559 ip_proto_dispatch_in(m, hlen, proto, 0);
563 ip_proto_dispatch_in(struct mbuf *m, int hlen, u_int8_t proto, argument
603 hlen, proto);
/xnu-2422.115.4/bsd/netinet6/
H A Dudp6_usrreq.c238 udp6_input(struct mbuf **mp, int *offp, int proto) argument
240 #pragma unused(proto)
656 udp6_attach(struct socket *so, int proto, struct proc *p) argument
658 #pragma unused(proto)
H A Dah_core.c255 if (sav->sah->saidx.proto == IPPROTO_AH) {
1501 int proto, nxt; local
1516 proto = IPPROTO_IPV6;
1521 newoff = ip6_nexthdr(m, off, proto, &nxt);
1529 switch (proto) {
1687 proto = nxt;
H A Dip6_input.c1989 ip6_nexthdr(struct mbuf *m, int off, int proto, int *nxtp) argument
2000 switch (proto) {
2063 ip6_lasthdr(struct mbuf *m, int off, int proto, int *nxtp) argument
2073 newoff = ip6_nexthdr(m, off, proto, nxtp);
2082 proto = *nxtp;
H A Dah_output.c128 if (isr->saidx.proto != IPPROTO_AH)
H A Dah_input.c622 ah6_input(struct mbuf **mp, int *offp, int proto) argument
624 #pragma unused(proto)
H A Dfrag6.c276 frag6_input(struct mbuf **mp, int *offp, int proto) argument
278 #pragma unused(proto)
H A Desp_output.c153 if (isr->saidx.proto != IPPROTO_ESP)
H A Dicmp6.c436 icmp6_input(struct mbuf **mp, int *offp, int proto) argument
438 #pragma unused(proto)
3114 icmp6_dgram_attach(struct socket *so, int proto, struct proc *p) argument
3123 if (proto != IPPROTO_ICMPV6)
/xnu-2422.115.4/bsd/sys/
H A DMakefile156 $(_v)$(MAKESYSCALLS) $< proto > /dev/null
/xnu-2422.115.4/bsd/kern/
H A Dkpi_socketfilter.c391 struct protosw *proto = so->so_proto->pr_protosw; local
394 if (TAILQ_FIRST(&proto->pr_filter_head) != NULL) {
410 TAILQ_FIRST(&proto->pr_filter_head);
H A Duipc_socket.c529 socreate_internal(int dom, struct socket **aso, int type, int proto, argument
543 if (proto != 0)
544 prp = pffindproto(dom, proto, type);
551 if (proto != 0) {
552 if (pffindprotonotype(dom, proto) != NULL)
612 error = (*prp->pr_usrreqs->pru_attach)(so, proto, p);
676 socreate(int dom, struct socket **aso, int type, int proto) argument
678 return (socreate_internal(dom, aso, type, proto, current_proc(), 0,
683 socreate_delegate(int dom, struct socket **aso, int type, int proto, pid_t epid) argument
693 error = socreate_internal(dom, aso, type, proto, current_pro
[all...]
/xnu-2422.115.4/tools/lldbmacros/
H A Dnet.py1455 def GetInPcb(pcb, proto):
1459 if (proto == IPPROTO_TCP):
1462 if (proto == IPPROTO_UDP):
1465 out_string += str(proto) + "."
1491 if (proto == IPPROTO_TCP):
1579 def GetPcbInfo(pcbi, proto):
1592 out_string += "pcb proto source address port destination address port\n"
1594 out_string += "pcb proto source address port destination address port\n\n"
1603 out_string += GetInPcb(pcb, proto) + "\n"
/xnu-2422.115.4/bsd/netkey/
H A Dkey_debug.c341 printf("sadb_address{ proto=%u prefixlen=%u reserved=0x%02x%02x }\n",
462 printf(" { len=%u proto=%u mode=%u level=%u reqid=%u\n",
583 printf("secasindex{ mode=%u proto=%u\n",
584 saidx->mode, saidx->proto);

Completed in 132 milliseconds

1234