Home
last modified time | relevance | path

Searched refs:sp_protocol (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/bsd/net/
H A Draw_usrreq.c109 if (rp->rcb_proto.sp_protocol && in raw_input()
110 rp->rcb_proto.sp_protocol != proto->sp_protocol) { in raw_input()
H A Draw_cb.c112 rp->rcb_proto.sp_protocol = (uint16_t)proto; in raw_attach()
H A Drtsock.c203 switch (rp->rcb_proto.sp_protocol) { in rts_attach()
241 switch (rp->rcb_proto.sp_protocol) { in rts_detach()
852 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in route_output()
857 route_proto.sp_protocol = dst_sa_family; in route_output()
1516 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_missmsg()
1543 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_ifmsg()
1580 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_newaddrmsg()
1645 route_proto.sp_protocol = sa ? sa->sa_family : 0; in rt_newaddrmsg()
1662 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_newmaddrmsg()
1690 route_proto.sp_protocol = ifma->ifma_addr->sa_family; in rt_newmaddrmsg()
H A Dndrv.c264 np->nd_proto.sp_protocol = (uint16_t)proto; in ndrv_attach()
/xnu-11215/bsd/netkey/
H A Dkeysock.c286 if (rp->rcb_proto.sp_protocol in key_sendup_mbuf()
287 && rp->rcb_proto.sp_protocol != PF_KEY_V2) { in key_sendup_mbuf()
410 if (kp->kp_raw.rcb_proto.sp_protocol == PF_KEY) { /* XXX: AF_KEY */ in key_attach()
457 if (kp->kp_raw.rcb_proto.sp_protocol == PF_KEY) { /* XXX: AF_KEY */ in key_detach()
/xnu-11215/bsd/sys/
H A Dsocket.h473 __uint16_t sp_protocol; /* protocol */ member