Home
last modified time | relevance | path

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

/xnu-12377.1.9/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.c204 switch (rp->rcb_proto.sp_protocol) { in rts_attach()
242 switch (rp->rcb_proto.sp_protocol) { in rts_detach()
857 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in route_output()
862 route_proto.sp_protocol = dst_sa_family; in route_output()
1521 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_missmsg()
1548 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_ifmsg()
1585 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_newaddrmsg()
1650 route_proto.sp_protocol = sa ? sa->sa_family : 0; in rt_newaddrmsg()
1667 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_newmaddrmsg()
1695 route_proto.sp_protocol = ifma->ifma_addr->sa_family; in rt_newmaddrmsg()
H A Dndrv.c271 np->nd_proto.sp_protocol = (uint16_t)proto; in ndrv_attach()
/xnu-12377.1.9/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-12377.1.9/bsd/sys/
H A Dsocket.h473 __uint16_t sp_protocol; /* protocol */ member