Searched refs:sp_proto (Results 1 – 6 of 6) sorted by relevance
| /netbsd/src/sys/net/ |
| D | if_gre.c | 307 sp->sp_proto = IPPROTO_GRE; in gre_clone_create() 447 rc = fsocreate(af, &so, sp->sp_type, sp->sp_proto, &fd, &fp, NULL); in gre_socreate() 1089 (sp->sp_proto != 0 && pr->pr_protocol != 0 && in gre_ssock() 1090 pr->pr_protocol != sp->sp_proto)) { in gre_ssock() 1207 oproto = sp->sp_proto; in gre_ioctl() 1211 sp->sp_proto = IPPROTO_UDP; in gre_ioctl() 1215 sp->sp_proto = 0; in gre_ioctl() 1219 sp->sp_proto = IPPROTO_GRE; in gre_ioctl() 1231 (oproto == sp->sp_proto || sp->sp_proto == 0) && in gre_ioctl() 1234 switch (sp->sp_proto) { in gre_ioctl() [all …]
|
| D | if_gre.h | 58 int sp_proto; /* encapsulating protocol */ member
|
| /netbsd/src/sys/netbt/ |
| D | sco.h | 50 const struct btproto *sp_proto; /* upper layer protocol */ member
|
| D | hci_link.c | 798 new = (*pcb->sp_proto->newconn)(pcb->sp_upper, &laddr, &raddr); in hci_sco_newconn() 864 (*link->hl_sco->sp_proto->input)(link->hl_sco->sp_upper, m); in hci_sco_recv() 886 (*link->hl_sco->sp_proto->complete)(link->hl_sco->sp_upper, num); in hci_sco_complete() 987 (*pcb->sp_proto->disconnected)(pcb->sp_upper, err); in hci_link_free()
|
| D | sco_upper.c | 75 pcb->sp_proto = proto; in sco_attach_pcb()
|
| D | hci_event.c | 661 (*link->hl_sco->sp_proto->connected)(link->hl_sco->sp_upper); in hci_event_con_compl()
|