/netbsd-6-1-5-RELEASE/sys/netinet6/ |
H A D | in6_pcb.h | 79 struct in6pcb { struct 152 #define sotoin6pcb(so) ((struct in6pcb *)(so)->so_pcb) 154 void in6_losing(struct in6pcb *); 159 void in6_pcbdetach(struct in6pcb *); 160 void in6_pcbdisconnect(struct in6pcb *); 161 struct in6pcb *in6_pcblookup_port(struct inpcbtable *, struct in6_addr *, 165 void (*)(struct in6pcb *, int)); 168 void in6_pcbstate(struct in6pcb *, int); 169 void in6_rtchange(struct in6pcb *, int); 170 void in6_setpeeraddr(struct in6pcb *, struc [all...] |
H A D | in6_pcb.c | 143 pool_init(&in6pcb_pool, sizeof(struct in6pcb), 0, 0, 0, "in6pcbpl", 163 struct in6pcb *in6p; 208 in6_pcbbind_addr(struct in6pcb *in6p, struct sockaddr_in6 *sin6, struct lwp *l) 278 in6_pcbbind_port(struct in6pcb *in6p, struct sockaddr_in6 *sin6, struct lwp *l) 339 struct in6pcb *t; 373 struct in6pcb *in6p = v; 412 * in6pcb. 436 struct in6pcb *in6p = v; 578 in6_pcbdisconnect(struct in6pcb *in6p) 592 in6_pcbdetach(struct in6pcb *in6 [all...] |
H A D | udp6_var.h | 107 int udp6_output(struct in6pcb *, struct mbuf *, struct mbuf *,
|
H A D | ipsec.h | 374 struct in6pcb; 390 extern int ipsec6_delete_pcbpolicy(struct in6pcb *); 391 extern int ipsec6_set_policy(struct in6pcb *, int, void *, size_t, 393 extern int ipsec6_get_policy(struct in6pcb *, void *, size_t, 395 extern int ipsec6_in_reject(struct mbuf *, struct in6pcb *); 409 extern size_t ipsec6_hdrsiz(struct mbuf *, u_int, struct in6pcb *);
|
H A D | ip6_var.h | 313 struct in6pcb; 334 void ip6_savecontrol(struct in6pcb *, struct mbuf **, struct ip6_hdr *, 336 void ip6_notify_pmtu(struct in6pcb *, const struct sockaddr_in6 *, 355 int ip6_optlen(struct in6pcb *);
|
H A D | raw_ip6.c | 155 struct in6pcb *in6p; 156 struct in6pcb *last = NULL; 186 in6p = (struct in6pcb *)inph; 306 void (*notify)(struct in6pcb *, int) = in6_rtchange; 341 struct in6pcb *in6p; 404 struct in6pcb *in6p; 616 struct in6pcb *in6p = sotoin6pcb(so);
|
H A D | udp6_usrreq.c | 119 static void udp6_notify(struct in6pcb *, int); 134 udp6_notify(struct in6pcb *in6p, int errno) 152 void (*notify)(struct in6pcb *, int) = udp6_notify; 333 struct in6pcb *in6p = sotoin6pcb(so);
|
H A D | udp6_output.c | 115 udp6_output(struct in6pcb * const in6p, struct mbuf *m,
|
H A D | in6_var.h | 710 struct in6pcb;
|
H A D | in6_src.c | 787 in6_selecthlim(struct in6pcb *in6p, struct ifnet *ifp) 801 in6_pcbsetport(struct sockaddr_in6 *sin6, struct in6pcb *in6p, struct lwp *l)
|
H A D | icmp6.c | 1864 struct in6pcb *in6p; 1865 struct in6pcb *last = NULL; 1887 in6p = (struct in6pcb *)inph; 2599 struct in6pcb *in6p = sotoin6pcb(so);
|
H A D | ipsec.c | 1535 ipsec6_set_policy(struct in6pcb *in6p, int optname, void *request, 1567 ipsec6_get_policy(struct in6pcb *in6p, void *request, size_t len, 1600 ipsec6_delete_pcbpolicy(struct in6pcb *in6p) 1893 ipsec6_in_reject(struct mbuf *m, struct in6pcb *in6p) 2025 ipsec6_hdrsiz(struct mbuf *m, u_int dir, struct in6pcb *in6p)
|
/netbsd-6-1-5-RELEASE/sys/netipsec/ |
H A D | ipsec6.h | 57 struct in6pcb; 64 int ipsec6_delete_pcbpolicy (struct in6pcb *); 65 int ipsec6_set_policy (struct in6pcb *, int, const void *, size_t, kauth_cred_t); 66 int ipsec6_get_policy (struct in6pcb *, const void *, size_t, struct mbuf **); 68 u_int, int *, struct in6pcb *); 71 int ipsec6_in_reject (struct mbuf *, struct in6pcb *); 80 size_t ipsec6_hdrsiz (struct mbuf *, u_int, struct in6pcb *);
|
H A D | ipsec_osdep.h | 261 * a IPv4 pcb (struct inpcb *) or an IPv6 pcb (struct in6pcb *). 263 * In FreeBSD 4.x, sgtrucr in6pcb is syntactic sugar for struct inpcb, 264 * so punning between struct inpcb* and struct in6pcb* is trivial. 267 * NetBSD's struct inpcb and struct in6pcb were changed to both have 275 * argument for actual arguments an in4pcb or an in6pcb. 278 * family (AF_INET, AF_INET6) of the unperlying inpcb/in6pcb. 284 * PCB_TO_IN6PCB(p): given generic pcb_t *p, returns a struct in6pcb * 287 * IN6PCB_TO_PCB(in6p): given a struct in6pcb *in6p, returns a pcb_t * 309 #define PCB_TO_IN6PCB(p) ((struct in6pcb *)(p))
|
H A D | ipsec.c | 234 static int ipsec6_setspidx_in6pcb (struct mbuf *, struct in6pcb *); 528 /* XXX FIXME inpcb/in6pcb vs socket*/ 556 struct in6pcb *in6p = PCB_TO_IN6PCB(inp); 739 struct in6pcb *in6p) 813 ipsec6_setspidx_in6pcb(struct mbuf *m, struct in6pcb *pcb) 1448 ipsec6_set_policy(struct in6pcb *in6p, int optname, const void *request, 1479 ipsec6_get_policy(struct in6pcb *in6p, const void *request, size_t len, 1511 ipsec6_delete_pcbpolicy(struct in6pcb *in6p) 1758 ipsec6_in_reject(struct mbuf *m, struct in6pcb *in6p) 1895 ipsec6_hdrsiz(struct mbuf *m, u_int dir, struct in6pcb *in6 [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/systat/ |
H A D | netstat.c | 87 static void enter6(struct in6pcb *, struct socket *, int, const char *); 259 struct in6pcb *head6, *prev6, *next6; 263 struct in6pcb in6pcb; local 266 prev6 = head6 = (struct in6pcb *)&((struct inpcbtable *)off)->inpt_queue; 267 next6 = (struct in6pcb *)pcbtable.inpt_queue.cqh_first; 269 KREAD(next6, &in6pcb, sizeof (in6pcb)); 270 if ((struct in6pcb *)in6pcb [all...] |
H A D | extern.h | 67 struct in6pcb; 73 int checkhost6(struct in6pcb *); 74 int checkport6(struct in6pcb *);
|
H A D | netcmds.c | 252 checkport6(struct in6pcb *in6p) 361 checkhost6(struct in6pcb *in6p)
|
/netbsd-6-1-5-RELEASE/sys/netinet/ |
H A D | rfc6056.c | 183 struct in6pcb *in6p = (struct in6pcb *)(void *)inp_hdr; 293 struct in6pcb *in6p = (struct in6pcb *)(void *)inp_hdr; 539 const struct in6pcb *in6p = 540 (const struct in6pcb *)(const void *)inp_hdr; 571 struct in6pcb *in6p; 591 in6p = (struct in6pcb *)(void *)inp_hdr; 807 struct in6pcb *in6p = (struct in6pcb *)(voi [all...] |
H A D | tcp_subr.c | 239 void tcp6_mtudisc(struct in6pcb *, int); 451 struct in6pcb *in6p = tp->t_in6pcb; 627 int family; /* family on packet, not inpcb/in6pcb! */ 1005 /* family selects inpcb, or in6pcb */ 1048 struct in6pcb *in6p = (struct in6pcb *)aux; 1136 struct in6pcb *in6p; 1346 tp = in6totcpcb((struct in6pcb *)inph); 1405 tcp6_notify(struct in6pcb *in6p, int error) 1437 void (*notify)(struct in6pcb *, in [all...] |
H A D | tcp_var.h | 228 struct in6pcb *t_in6pcb; /* back pointer to internet pcb */ 922 void tcp6_notify(struct in6pcb *, int); 930 void tcp6_quench(struct in6pcb *, int);
|
H A D | tcp_usrreq.c | 176 struct in6pcb *in6p; 647 struct in6pcb *in6p; 854 struct in6pcb *in6p; 1229 struct in6pcb *in6p; 1401 const struct in6pcb *in6p; 1454 in6p = (const struct in6pcb *)inph;
|
H A D | udp_usrreq.c | 679 struct in6pcb *in6p = NULL; 868 struct in6pcb *in6p; 915 in6p = (struct in6pcb *)inph;
|
/netbsd-6-1-5-RELEASE/usr.bin/netstat/ |
H A D | inet6.c | 138 struct in6pcb in6pcb; variable in typeref:struct:in6pcb 283 struct in6pcb *head, *prev, *next; 295 (struct in6pcb *)&((struct inpcbtable *)off)->inpt_queue.cqh_first; 296 next = (struct in6pcb *)table.inpt_queue.cqh_first; 303 kread((u_long)next, (char *)&in6pcb, sizeof in6pcb); 304 if ((struct in6pcb *)in6pcb.in6p_queue.cqe_prev != prev) { 309 next = (struct in6pcb *)in6pc [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/fstat/ |
H A D | fstat.c | 888 struct in6pcb in6pcb; local 971 if (kvm_read(kd, (u_long)so.so_pcb, (char *)&in6pcb, 972 sizeof(in6pcb)) != sizeof(in6pcb)) { 973 dprintf("can't read in6pcb at %p", so.so_pcb); 976 inet6_addrstr(lbuf, sizeof(lbuf), &in6pcb.in6p_laddr, 977 ntohs(in6pcb.in6p_lport)); 978 inet6_addrstr(fbuf, sizeof(fbuf), &in6pcb.in6p_faddr, 979 ntohs(in6pcb [all...] |