/freebsd-current/sys/netinet6/ |
H A D | in6_pcb.h | 72 void in6_losing(struct inpcb *); 73 int in6_pcbbind(struct inpcb *, struct sockaddr_in6 *, struct ucred *); 74 int in6_pcbconnect(struct inpcb *, struct sockaddr_in6 *, struct ucred *, 76 void in6_pcbdisconnect(struct inpcb *); 77 struct inpcb * 81 struct inpcb * 86 struct inpcb * 90 struct inpcb * 96 struct inpcb *(*)(struct inpcb *, in [all...] |
H A D | in6_pcb.c | 116 in6_pcbsetport(struct in6_addr *laddr, struct inpcb *inp, struct ucred *cred) 154 in6_pcbbind(struct inpcb *inp, struct sockaddr_in6 *sin6, struct ucred *cred) 238 struct inpcb *t; 335 in6_pcbladdr(struct inpcb *inp, struct sockaddr_in6 *sin6, 410 in6_pcbconnect(struct inpcb *inp, struct sockaddr_in6 *sin6, struct ucred *cred, 483 in6_pcbdisconnect(struct inpcb *inp) 507 struct inpcb *inp; 527 struct inpcb *inp; 549 struct inpcb *inp; 575 struct inpcb *in [all...] |
H A D | ip6_var.h | 100 * Structure attached to inpcb.in6p_moptions and 367 struct inpcb; 386 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *, 388 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **); 389 void ip6_notify_pmtu(struct inpcb *, struct sockaddr_in6 *, u_int32_t); 399 struct inpcb *); 407 int ip6_optlen(struct inpcb *); 428 struct inpcb *, struct ucred *, int, struct in6_addr *, int *);
|
H A D | raw_ip6.c | 156 rip6_inp_match(const struct inpcb *inp, void *v) 187 struct inpcb *inp; 342 struct inpcb *inp; 569 struct inpcb *inp = sotoinpcb(so); 645 struct inpcb *inp; 668 inp = (struct inpcb *)so->so_pcb; 680 struct inpcb *inp; 697 struct inpcb *inp __diagused; 708 struct inpcb *inp __diagused; 719 struct inpcb *in [all...] |
H A D | udp6_usrreq.c | 139 udp6_append(struct inpcb *inp, struct mbuf *n, int off, 224 udp6_multi_match(const struct inpcb *inp, void *v) 252 struct inpcb *inp; 277 * XXXRW: Because we weren't holding either the inpcb 280 * inpcb lock is (supposed to be) held. 354 struct inpcb *inp; 554 struct inpcb *inp; 614 struct inpcb *inp; 663 struct inpcb *inp; 966 struct inpcb *in [all...] |
/freebsd-current/sys/netinet/ |
H A D | in_systm.h | 57 struct inpcb; 60 int cr_canseeinpcb(struct ucred *cred, struct inpcb *inp);
|
H A D | in_pcb_var.h | 47 void inp_lock(struct inpcb *inp, const inp_lookup_t lock); 48 void inp_unlock(struct inpcb *inp, const inp_lookup_t lock); 49 int inp_trylock(struct inpcb *inp, const inp_lookup_t lock); 50 bool inp_smr_lock(struct inpcb *, const inp_lookup_t); 51 int in_pcb_lport(struct inpcb *, struct in_addr *, u_short *, 53 int in_pcb_lport_dest(struct inpcb *inp, struct sockaddr *lsa, 56 struct inpcb * in_pcblookup_local(struct inpcbinfo *, struct in_addr, u_short,
|
H A D | in_pcb.h | 59 * struct inpcb is the common protocol control block structure used in most 66 CK_LIST_HEAD(inpcbhead, inpcb); 75 * which is done right after inpcb allocation and stays through its lifetime. 134 * struct inpcb captures the network layer state for TCP, UDP, and raw IPv4 and 136 * located in a larger protocol specific structure that embeds inpcb in it. 137 * Almost all fields of struct inpcb are static after creation or protected by 138 * a per-inpcb rwlock, inp_lock. 140 * A inpcb database is indexed by addresses/ports hash as well as list of 148 * (i) - Protected by the inpcb lock 149 * (p) - Protected by the pcbinfo lock for the inpcb 168 struct inpcb { struct [all...] |
H A D | ip_options.h | 57 int ip_pcbopts(struct inpcb *, int, struct mbuf *);
|
H A D | toecore.h | 139 void toe_connect_failed(struct toedev *, struct inpcb *, int); 142 struct inpcb *, void *, void *, uint8_t);
|
H A D | in_prot.c | 57 cr_canseeinpcb(struct ucred *cred, struct inpcb *inp)
|
H A D | udp_var.h | 99 typedef bool udp_tun_func_t(struct mbuf *, int, struct inpcb *, 111 struct inpcb u_inpcb; 178 struct inpcb *udp_notify(struct inpcb *inp, int errno);
|
H A D | in_pcb.c | 139 static struct inpcb *in_pcblookup_hash_locked(struct inpcbinfo *pcbinfo, 237 static void in_pcbremhash(struct inpcb *); 243 * the pcbinfo lock held, and often, the inpcb lock held, as these utility 339 in_pcbinslbgrouphash(struct inpcb *inp, uint8_t numa_domain) 412 in_pcbremlbgrouphash(struct inpcb *inp) 447 in_pcblbgroup_numa(struct inpcb *inp, int arg) 498 CTASSERT(sizeof(struct inpcbhead) == sizeof(LIST_HEAD(, inpcb))); 587 struct inpcb *inp; 641 * Routes in inpcb's can cache L2 as well; they are guaranteed 669 in_pcbbind(struct inpcb *in [all...] |
H A D | ip_var.h | 73 * Structure stored in mbuf in inpcb.ip_options 87 * Structure attached to inpcb.ip_moptions and 190 struct inpcb; 221 int inp_getmoptions(struct inpcb *, struct sockopt *); 222 int inp_setmoptions(struct inpcb *, struct sockopt *); 233 struct inpcb *); 236 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
|
H A D | raw_ip.c | 149 rip_inshash(struct inpcb *inp) 170 rip_delhash(struct inpcb *inp) 180 INPCBSTORAGE_DEFINE(ripcbstor, inpcb, "rawinp", "ripcb", "rip", "riphash"); 202 rip_append(struct inpcb *inp, struct ip *ip, struct mbuf *m, 249 rip_inp_match1(const struct inpcb *inp, void *v) 268 rip_inp_match2(const struct inpcb *inp, void *v) 303 struct inpcb *inp; 409 struct inpcb *inp; 634 struct inpcb *inp = sotoinpcb(so); 813 struct inpcb *in [all...] |
/freebsd-current/sys/dev/mlx5/mlx5_core/ |
H A D | fs_tcp.h | 29 struct inpcb; 37 struct inpcb *, uint32_t tirn, uint32_t flow_tag, uint16_t vlan_id);
|
/freebsd-current/sys/net/ |
H A D | if_enc.h | 36 struct inpcb *inp;
|
H A D | pfil.h | 92 struct inpcb; 102 void *, struct inpcb *); 178 struct inpcb *inp); 180 struct inpcb *inp); 182 struct inpcb *);
|
/freebsd-current/sys/netipsec/ |
H A D | ipsec6.h | 62 struct inpcb; 64 struct inpcb *, int *, int); 70 int ipsec6_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *); 73 int ip6_ipsec_pcbctl(struct inpcb *, struct sockopt *);
|
H A D | ipsec_support.h | 33 struct inpcb; 47 size_t ipsec_hdrsiz_inpcb(struct inpcb *); 48 int ipsec_init_pcbpolicy(struct inpcb *); 49 int ipsec_delete_pcbpolicy(struct inpcb *); 50 int ipsec_copy_pcbpolicy(struct inpcb *, struct inpcb *); 54 int udp_ipsec_pcbctl(struct inpcb *, struct sockopt *); 57 int ipsec4_in_reject(const struct mbuf *, struct inpcb *); 60 int ipsec4_pcbctl(struct inpcb *, struct sockopt *); 61 int ipsec4_output(struct mbuf *, struct inpcb *); [all...] |
H A D | ipsec_pcb.c | 53 MALLOC_DEFINE(M_IPSEC_INPCB, "inpcbpolicy", "inpcb-resident ipsec policy"); 56 ipsec_setsockaddrs_inpcb(struct inpcb *inp, union sockaddr_union *src, 127 ipsec_setspidx_inpcb(struct inpcb *inp, struct secpolicyindex *spidx, 152 ipsec_init_pcbpolicy(struct inpcb *inp) 167 ipsec_delete_pcbpolicy(struct inpcb *inp) 227 ipsec_copy_pcbpolicy(struct inpcb *old, struct inpcb *new) 270 ipsec_set_pcbpolicy(struct inpcb *inp, struct ucred *cred, 358 ipsec_get_pcbpolicy(struct inpcb *inp, void *request, size_t *len) 416 ipsec_control_pcbpolicy(struct inpcb *in [all...] |
H A D | ipsec.h | 309 struct inpcb; 320 struct secpolicy *ipsec4_checkpolicy(const struct mbuf *, struct inpcb *, 334 void ipsec_setspidx_inpcb(struct inpcb *, struct secpolicyindex *, u_int); 340 int ipsec4_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *);
|
/freebsd-current/usr.bin/systat/ |
H A D | netstat.c | 79 static void enter_kvm(struct inpcb *, struct socket *, int, const char *); 175 struct inpcb *inpcb; local 197 LIST_FOREACH(inpcb, &head, inp_list) { 198 KREAD(inpcb, &tcpcb, istcp ? sizeof(tcpcb) : sizeof(inpcb)); 199 inpcb = (struct inpcb *)&tcpcb; 201 if (inpcb->inp_vflag & INP_IPV4) { 202 if (inpcb [all...] |
/freebsd-current/sys/security/mac/ |
H A D | mac_inet.c | 97 mac_inpcb_init(struct inpcb *inp, int flag) 164 mac_inpcb_destroy(struct inpcb *inp) 192 mac_inpcb_create(struct socket *so, struct inpcb *inp) 242 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) 362 MAC_CHECK_PROBE_DEFINE2(inpcb_check_deliver, "struct inpcb *", 366 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m) 386 "struct inpcb *"); 389 mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp) 403 mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp) 476 * Since we are holding the inpcb lock [all...] |
/freebsd-current/sys/sys/ |
H A D | ktls.h | 190 struct inpcb *inp; /* Used by transmit tasks. */ 229 int ktls_get_rx_sequence(struct inpcb *inp, uint32_t *tcpseq, uint64_t *tlsseq); 235 int ktls_output_eagain(struct inpcb *inp, struct ktls_session *tls);
|