Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/net/
H A Draw_usrreq.c108 if (rp->rcb_proto.sp_protocol && in raw_input()
109 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.c207 switch (rp->rcb_proto.sp_protocol) { in rts_attach()
245 switch (rp->rcb_proto.sp_protocol) { in rts_detach()
799 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in route_output()
804 route_proto.sp_protocol = dst_sa_family; in route_output()
1363 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_missmsg()
1390 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_ifmsg()
1427 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_newaddrmsg()
1492 route_proto.sp_protocol = sa ? sa->sa_family : 0; in rt_newaddrmsg()
1509 struct sockproto route_proto = { .sp_family = PF_ROUTE, .sp_protocol = 0 }; in rt_newmaddrmsg()
1537 route_proto.sp_protocol = ifma->ifma_addr->sa_family; in rt_newmaddrmsg()
H A Dndrv.c251 np->nd_proto.sp_protocol = (uint16_t)proto; in ndrv_attach()
/xnu-10063.141.1/bsd/netkey/
H A Dkeysock.c285 if (rp->rcb_proto.sp_protocol in key_sendup_mbuf()
286 && rp->rcb_proto.sp_protocol != PF_KEY_V2) { in key_sendup_mbuf()
409 if (kp->kp_raw.rcb_proto.sp_protocol == PF_KEY) { /* XXX: AF_KEY */ in key_attach()
456 if (kp->kp_raw.rcb_proto.sp_protocol == PF_KEY) { /* XXX: AF_KEY */ in key_detach()
/xnu-10063.141.1/bsd/sys/
H A Dsocket.h668 __uint16_t sp_protocol; /* protocol */ member