Searched refs:inpcb (Results 1 - 25 of 100) sorted by relevance

1234

/freebsd-10.1-release/sys/netinet6/
H A Din6_pcb.h75 in6_pcbgroup_byinpcb(struct inpcb *);
83 void in6_losing(struct inpcb *);
84 int in6_pcbbind(struct inpcb *, struct sockaddr *, struct ucred *);
85 int in6_pcbconnect(struct inpcb *, struct sockaddr *, struct ucred *);
86 int in6_pcbconnect_mbuf(struct inpcb *, struct sockaddr *,
88 void in6_pcbdisconnect(struct inpcb *);
89 int in6_pcbladdr(struct inpcb *, struct sockaddr *, struct in6_addr *);
90 struct inpcb *
94 struct inpcb *
98 struct inpcb *
[all...]
H A Dip6_ipsec.h38 int ip6_ipsec_output(struct mbuf **, struct inpcb *, int *, int *,
H A Din6_pcb.c110 in6_pcbbind(register struct inpcb *inp, struct sockaddr *nam,
187 struct inpcb *t;
306 in6_pcbladdr(register struct inpcb *inp, struct sockaddr *nam,
377 in6_pcbconnect_mbuf(register struct inpcb *inp, struct sockaddr *nam,
424 in6_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred)
431 in6_pcbdisconnect(struct inpcb *inp)
482 register struct inpcb *inp;
501 struct inpcb *inp;
520 struct inpcb *inp;
544 struct inpcb *in
[all...]
H A Dip6_var.h102 * Structure attached to inpcb.in6p_moptions and
376 struct inpcb;
406 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *,
408 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **);
409 void ip6_notify_pmtu(struct inpcb *, struct sockaddr_in6 *,
420 struct inpcb *);
428 int ip6_optlen(struct inpcb *);
449 struct inpcb *inp, struct route_in6 *, struct ucred *cred,
H A Din6_pcbgroup.c98 in6_pcbgroup_byinpcb(struct inpcb *inp)
H A Draw_ip6.c164 register struct inpcb *in6p;
165 struct inpcb *last = 0;
351 struct inpcb *(*notify)(struct inpcb *, int) = in6_rtchange;
406 struct inpcb *in6p;
591 struct inpcb *inp;
664 struct inpcb *inp;
687 inp = (struct inpcb *)so->so_pcb;
702 struct inpcb *inp;
722 struct inpcb *in
[all...]
H A Dudp6_usrreq.c137 udp6_append(struct inpcb *inp, struct mbuf *n, int off,
185 struct inpcb *inp;
277 struct inpcb *last;
320 * XXXRW: Because we weren't holding either the inpcb
323 * inpcb lock is (supposed to be) held.
524 struct inpcb *(*notify)(struct inpcb *, int) = udp_notify;
598 struct inpcb *inp;
640 udp6_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr6,
885 struct inpcb *in
[all...]
/freebsd-10.1-release/sys/netinet/
H A Dip_ipsec.h39 int ip_ipsec_output(struct mbuf **, struct inpcb *, int *, int *);
H A Din_pcb.h53 #define in6pcb inpcb /* for KAME src sync over BSD*'s */
58 * struct inpcb is the common protocol control block structure used in most
65 LIST_HEAD(inpcbhead, inpcb);
131 * struct inpcb captures the network layer state for TCP, UDP, and raw IPv4
133 * hung off of inp_ppcb most of the time. Almost all fields of struct inpcb
134 * are static after creation or protected by a per-inpcb rwlock, inp_lock. A
135 * few fields also require the global pcbinfo lock for the inpcb to be held,
141 * these fields that write locks be held on both the inpcb and global locks.
146 * (i) - Protected by the inpcb lock
147 * (p) - Protected by the pcbinfo lock for the inpcb
163 struct inpcb { struct
[all...]
H A Dudp_var.h55 struct inpcb;
58 typedef void(*udp_tun_func_t)(struct mbuf *, int off, struct inpcb *);
162 int udp_newudpcb(struct inpcb *);
176 struct inpcb *udp_notify(struct inpcb *inp, int errno);
H A Din_pcb.c131 static void in_pcbremlists(struct inpcb *inp);
133 static struct inpcb *in_pcblookup_hash_locked(struct inpcbinfo *pcbinfo,
201 * the pcbinfo lock held, and often, the inpcb lock held, as these utility
231 pcbinfo->ipi_zone = uma_zcreate(inpcbzone_name, sizeof(struct inpcb),
267 struct inpcb *inp;
324 in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred)
351 in_pcb_lport(struct inpcb *inp, struct in_addr *laddrp, u_short *lportp,
355 struct inpcb *tmpinp;
472 inp_so_options(const struct inpcb *inp)
497 in_pcbbind_setup(struct inpcb *in
[all...]
H A Dip_options.h57 int ip_pcbopts(struct inpcb *, int, struct mbuf *);
H A Dtoecore.h122 void toe_connect_failed(struct toedev *, struct inpcb *, int);
125 struct inpcb *, void *, void *);
H A Din_pcbgroup.c233 in_pcbgroup_byinpcb(struct inpcb *inp)
241 in_pcbwild_add(struct inpcb *inp)
263 in_pcbwild_remove(struct inpcb *inp)
282 in_pcbwild_needed(struct inpcb *inp)
294 in_pcbwild_update_internal(struct inpcb *inp)
306 * Update the pcbgroup of an inpcb, which might include removing an old
309 * wildcard inpcb (asserted below).
313 struct inpcbgroup *newpcbgroup, struct inpcb *inp)
349 * Two update paths: one in which the 4-tuple on an inpcb has been updated
358 * otherwise, calculate and update the pcbgroup for the inpcb
[all...]
H A Dip_var.h69 * Structure stored in mbuf in inpcb.ip_options
82 * Structure attached to inpcb.ip_moptions and
172 struct inpcb;
203 int inp_getmoptions(struct inpcb *, struct sockopt *);
204 int inp_setmoptions(struct inpcb *, struct sockopt *);
220 struct inpcb *);
227 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
H A Draw_ip.c149 rip_inshash(struct inpcb *inp)
170 rip_delhash(struct inpcb *inp)
197 struct inpcb *inp = mem;
225 rip_append(struct inpcb *last, struct ip *ip, struct mbuf *n,
278 struct inpcb *inp, *last;
429 struct inpcb *inp = sotoinpcb(so);
555 struct inpcb *inp = sotoinpcb(so);
795 struct inpcb *inp;
815 inp = (struct inpcb *)so->so_pcb;
828 struct inpcb *in
[all...]
H A Dtcp_var.h110 struct inpcb *t_inpcb; /* back pointer to internet pcb */
343 struct inpcb *tw_inpcb; /* XXX back pointer to internet pcb */
570 struct inpcb xt_inp;
678 struct inpcb *
679 tcp_drop_syn_sent(struct inpcb *, int);
680 struct inpcb *
681 tcp_mtudisc(struct inpcb *, int);
683 tcp_newtcpcb(struct inpcb *);
693 int tcp_twcheck(struct inpcb *, struct tcpopt *, struct tcphdr *,
703 tcpip_maketemplate(struct inpcb *);
[all...]
H A Dip_divert.c135 struct inpcb *inp = mem;
144 struct inpcb *inp = mem;
192 struct inpcb *inp;
370 struct inpcb *inp;
510 struct inpcb *inp;
529 inp = (struct inpcb *)so->so_pcb;
541 struct inpcb *inp;
555 struct inpcb *inp;
583 struct inpcb *inp;
626 struct inpcb *in
[all...]
/freebsd-10.1-release/usr.bin/systat/
H A Dnetstat.c79 static struct netinfo *enter(struct inpcb *, int, const char *);
80 static void enter_kvm(struct inpcb *, struct socket *, int, const char *);
81 static void enter_sysctl(struct inpcb *, struct xsocket *, int, const char *);
172 struct inpcb *next;
175 struct inpcb inpcb; local
200 KREAD(next, &inpcb, sizeof (inpcb));
201 next = &inpcb;
203 if (inpcb
248 struct inpcb *inpcb; local
[all...]
H A Dextern.h59 struct inpcb;
70 int checkhost(struct inpcb *);
71 int checkport(struct inpcb *);
/freebsd-10.1-release/sys/netipsec/
H A Dipsec6.h61 struct inpcb;
63 extern int ipsec6_in_reject __P((struct mbuf *, struct inpcb *));
H A Dipsec.h326 struct inpcb;
328 int *, struct inpcb *));
332 struct inpcb;
339 extern int ipsec_set_policy __P((struct inpcb *inp, int optname,
341 extern int ipsec_get_policy __P((struct inpcb *inpcb, caddr_t request,
343 extern int ipsec_delete_pcbpolicy __P((struct inpcb *));
344 extern int ipsec4_in_reject __P((struct mbuf *, struct inpcb *));
351 extern size_t ipsec_hdrsiz __P((struct mbuf *, u_int, struct inpcb *));
/freebsd-10.1-release/sys/net/
H A Dpfil.h44 struct inpcb;
47 struct inpcb *);
105 int, struct inpcb *inp);
/freebsd-10.1-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_toepcb.h64 struct inpcb *tp_inp;
/freebsd-10.1-release/sys/security/mac/
H A Dmac_inet.c100 mac_inpcb_init(struct inpcb *inp, int flag)
156 mac_inpcb_destroy(struct inpcb *inp)
184 mac_inpcb_create(struct socket *so, struct inpcb *inp)
234 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m)
352 MAC_CHECK_PROBE_DEFINE2(inpcb_check_deliver, "struct inpcb *",
356 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m)
376 "struct inpcb *");
379 mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp)
393 mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp)
466 * Since we are holding the inpcb lock
[all...]

Completed in 257 milliseconds

1234