Home
last modified time | relevance | path

Searched refs:inpcb (Results 1 – 25 of 107) sorted by relevance

12345

/f-stack/tools/compat/include/netinet/
H A Din_pcb.h66 CK_LIST_HEAD(inpcbhead, inpcb);
231 struct inpcb { struct
412 struct inpcb *il_inp_list[0];
601 void inp_wlock(struct inpcb *);
603 void inp_rlock(struct inpcb *);
815 const struct inpcb *oi);
856 struct inpcb *
859 struct inpcb *
862 struct inpcb *
866 int, struct inpcb *(*)(struct inpcb *, int));
[all …]
H A Dudp_var.h57 struct inpcb;
60 typedef void(*udp_tun_func_t)(struct mbuf *, int, struct inpcb *,
172 int udp_newudpcb(struct inpcb *);
182 struct inpcb *udp_notify(struct inpcb *inp, int errno);
H A Din_systm.h60 struct inpcb;
63 int cr_canseeinpcb(struct ucred *cred, struct inpcb *inp);
H A Dip_var.h178 struct inpcb;
211 int inp_getmoptions(struct inpcb *, struct sockopt *);
212 int inp_setmoptions(struct inpcb *, struct sockopt *);
225 struct inpcb *);
230 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
/f-stack/freebsd/netinet/
H A Din_pcb.h66 CK_LIST_HEAD(inpcbhead, inpcb);
231 struct inpcb { struct
412 struct inpcb *il_inp_list[0];
601 void inp_wlock(struct inpcb *);
603 void inp_rlock(struct inpcb *);
815 const struct inpcb *oi);
856 struct inpcb *
859 struct inpcb *
862 struct inpcb *
866 int, struct inpcb *(*)(struct inpcb *, int));
[all …]
H A Dtcp_hpts.h44 TAILQ_HEAD(hptsh, inpcb);
164 struct tcp_hpts_entry *tcp_hpts_lock(struct inpcb *inp);
165 struct tcp_hpts_entry *tcp_input_lock(struct inpcb *inp);
166 int __tcp_queue_to_hpts_immediate(struct inpcb *inp, int32_t line);
169 struct tcp_hpts_entry *tcp_cur_hpts(struct inpcb *inp);
171 void __tcp_hpts_remove(struct inpcb *inp, int32_t flags, int32_t line);
197 uint32_t __tcp_hpts_insert(struct inpcb *inp, uint32_t slot, int32_t line);
207 __tcp_queue_to_input(struct inpcb *inp, int32_t line);
210 uint16_t tcp_hpts_delayedby(struct inpcb *inp);
212 void __tcp_set_hpts(struct inpcb *inp, int32_t line);
[all …]
H A Din_pcb.c583 struct inpcb *inp; in in_pcballoc()
991 struct inpcb *t; in in_pcbbind_setup()
1722 struct inpcb *inp; in in_pcblist_rele_rlocked()
1752 struct inpcb *inp; in in_pcbfree_deferred()
1897 struct inpcb *inp; in in_getsockaddr()
1916 struct inpcb *inp; in in_getpeeraddr()
1934 struct inpcb *(*notify)(struct inpcb *, int)) in in_pcbnotifyall() argument
2008 struct inpcb *
2599 struct inpcb *
2634 struct inpcb *
[all …]
H A Din_pcbgroup.c306 in_pcbgroup_byinpcb(struct inpcb *inp) in in_pcbgroup_byinpcb()
326 in_pcbwild_add(struct inpcb *inp) in in_pcbwild_add()
348 in_pcbwild_remove(struct inpcb *inp) in in_pcbwild_remove()
367 in_pcbwild_needed(struct inpcb *inp) in in_pcbwild_needed()
388 in_pcbwild_update_internal(struct inpcb *inp) in in_pcbwild_update_internal()
407 struct inpcbgroup *newpcbgroup, struct inpcb *inp) in in_pcbgroup_update_internal()
470 in_pcbgroup_update(struct inpcb *inp) in in_pcbgroup_update()
496 in_pcbgroup_update_mbuf(struct inpcb *inp, struct mbuf *m) in in_pcbgroup_update_mbuf()
536 in_pcbgroup_remove(struct inpcb *inp) in in_pcbgroup_remove()
H A Dudp_var.h57 struct inpcb;
60 typedef void(*udp_tun_func_t)(struct mbuf *, int, struct inpcb *,
172 int udp_newudpcb(struct inpcb *);
182 struct inpcb *udp_notify(struct inpcb *inp, int errno);
H A Draw_ip.c206 struct inpcb *inp = mem; in rip_inpcb_init()
883 struct inpcb *inp; in rip_attach()
916 struct inpcb *inp; in rip_detach()
958 struct inpcb *inp; in rip_abort()
969 struct inpcb *inp; in rip_close()
980 struct inpcb *inp; in rip_disconnect()
996 struct inpcb *inp; in rip_bind()
1030 struct inpcb *inp; in rip_connect()
1056 struct inpcb *inp; in rip_shutdown()
1071 struct inpcb *inp; in rip_send()
[all …]
H A Din_systm.h60 struct inpcb;
63 int cr_canseeinpcb(struct ucred *cred, struct inpcb *inp);
H A Dip_var.h178 struct inpcb;
211 int inp_getmoptions(struct inpcb *, struct sockopt *);
212 int inp_setmoptions(struct inpcb *, struct sockopt *);
225 struct inpcb *);
230 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
H A Dtcp_hpts.c502 tcp_cur_hpts(struct inpcb *inp) in tcp_cur_hpts()
513 tcp_hpts_lock(struct inpcb *inp) in tcp_hpts_lock()
536 tcp_input_lock(struct inpcb *inp) in tcp_input_lock()
849 __tcp_queue_to_hpts_immediate(struct inpcb *inp, int32_t line) in __tcp_queue_to_hpts_immediate()
1100 __tcp_queue_to_input(struct inpcb *inp, int line) in __tcp_queue_to_input()
1138 hpts_random_cpu(struct inpcb *inp){ in hpts_random_cpu()
1161 hpts_cpuid(struct inpcb *inp) in hpts_cpuid()
1252 struct inpcb *inp; in tcp_input_data()
1367 struct inpcb *inp = NULL, *ninp; in tcp_hptsi()
1785 __tcp_set_hpts(struct inpcb *inp, int32_t line) in __tcp_set_hpts()
[all …]
H A Dudp_usrreq.c182 struct inpcb *inp; in udp_inpcb_init()
192 struct inpcb *inp; in udplite_inpcb_init()
398 struct inpcb *inp; in udp_input()
761 struct inpcb *
786 struct inpcb *inp; in udp_common_ctlinput()
859 struct inpcb *inp; in udp_pcblist()
933 struct inpcb *inp; in udp_getcred()
972 struct inpcb *inp; in udp_ctloutput()
1533 struct inpcb *inp; in udp_abort()
1554 struct inpcb *inp; in udp_attach()
[all …]
/f-stack/tools/compat/include/netinet6/
H A Din6_pcb.h77 in6_pcbgroup_byinpcb(struct inpcb *);
85 void in6_losing(struct inpcb *);
90 void in6_pcbdisconnect(struct inpcb *);
91 struct inpcb *
95 struct inpcb *
99 struct inpcb *
103 struct inpcb *
109 struct inpcb *(*)(struct inpcb *, int));
110 struct inpcb *
111 in6_rtchange(struct inpcb *, int);
[all …]
H A Dip6_var.h345 struct inpcb;
368 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *,
370 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **);
371 void ip6_notify_pmtu(struct inpcb *, struct sockaddr_in6 *, u_int32_t);
381 struct inpcb *);
389 int ip6_optlen(struct inpcb *);
414 struct inpcb *, struct ucred *, int, struct in6_addr *, int *);
/f-stack/freebsd/netinet6/
H A Din6_pcb.h77 in6_pcbgroup_byinpcb(struct inpcb *);
85 void in6_losing(struct inpcb *);
90 void in6_pcbdisconnect(struct inpcb *);
91 struct inpcb *
95 struct inpcb *
99 struct inpcb *
103 struct inpcb *
109 struct inpcb *(*)(struct inpcb *, int));
110 struct inpcb *
111 in6_rtchange(struct inpcb *, int);
[all …]
H A Din6_pcb.c210 struct inpcb *t; in in6_pcbbind()
550 struct inpcb *inp; in in6_getsockaddr()
569 struct inpcb *inp; in in6_getpeeraddr()
588 struct inpcb *inp; in in6_mapped_sockaddr()
612 struct inpcb *inp; in in6_mapped_peeraddr()
644 struct inpcb *(*notify)(struct inpcb *, int)) in in6_pcbnotify() argument
739 struct inpcb *
895 struct inpcb *
1163 struct inpcb *
1328 struct inpcb *
[all …]
H A Draw_ip6.c166 struct inpcb *inp; in rip6_input()
356 struct inpcb *(*notify)(struct inpcb *, int) = in6_rtchange; in rip6_ctlinput()
399 struct inpcb *inp; in rip6_output()
584 struct inpcb *inp; in rip6_ctloutput()
657 struct inpcb *inp; in rip6_attach()
695 struct inpcb *inp; in rip6_detach()
715 struct inpcb *inp; in rip6_abort()
726 struct inpcb *inp; in rip6_close()
737 struct inpcb *inp; in rip6_disconnect()
753 struct inpcb *inp; in rip6_bind()
[all …]
H A Dip6_var.h345 struct inpcb;
368 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *,
370 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **);
371 void ip6_notify_pmtu(struct inpcb *, struct sockaddr_in6 *, u_int32_t);
381 struct inpcb *);
389 int ip6_optlen(struct inpcb *);
414 struct inpcb *, struct ucred *, int, struct in6_addr *, int *);
/f-stack/freebsd/netipsec/
H A Dipsec_support.h35 struct inpcb;
42 size_t ipsec_hdrsiz_inpcb(struct inpcb *);
43 int ipsec_init_pcbpolicy(struct inpcb *);
44 int ipsec_delete_pcbpolicy(struct inpcb *);
45 int ipsec_copy_pcbpolicy(struct inpcb *, struct inpcb *);
51 int (*output)(struct mbuf *, struct inpcb *);
52 int (*pcbctl)(struct inpcb *, struct sockopt *);
53 size_t (*hdrsize)(struct inpcb *);
66 int (*pcbctl)(struct inpcb *, struct sockopt *);
157 struct inpcb *);
[all …]
H A Dipsec6.h63 struct inpcb;
65 struct inpcb *, int *, int);
70 int ipsec6_in_reject(const struct mbuf *, struct inpcb *);
72 int ipsec6_pcbctl(struct inpcb *, struct sockopt *);
73 int ipsec6_output(struct mbuf *, struct inpcb *);
76 int ipsec6_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *);
79 int ip6_ipsec_pcbctl(struct inpcb *, struct sockopt *);
H A Dipsec.h307 struct inpcb;
318 struct secpolicy *ipsec4_checkpolicy(const struct mbuf *, struct inpcb *,
326 int udp_ipsec_pcbctl(struct inpcb *, struct sockopt *);
333 void ipsec_setspidx_inpcb(struct inpcb *, struct secpolicyindex *, u_int);
337 int ipsec4_in_reject(const struct mbuf *, struct inpcb *);
340 int ipsec4_pcbctl(struct inpcb *, struct sockopt *);
341 int ipsec4_output(struct mbuf *, struct inpcb *);
344 int ipsec4_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *);
H A Dipsec_pcb.c58 ipsec_setsockaddrs_inpcb(struct inpcb *inp, union sockaddr_union *src, in ipsec_setsockaddrs_inpcb()
129 ipsec_setspidx_inpcb(struct inpcb *inp, struct secpolicyindex *spidx, in ipsec_setspidx_inpcb()
154 ipsec_init_pcbpolicy(struct inpcb *inp) in ipsec_init_pcbpolicy()
169 ipsec_delete_pcbpolicy(struct inpcb *inp) in ipsec_delete_pcbpolicy()
229 ipsec_copy_pcbpolicy(struct inpcb *old, struct inpcb *new) in ipsec_copy_pcbpolicy()
272 ipsec_set_pcbpolicy(struct inpcb *inp, struct ucred *cred, in ipsec_set_pcbpolicy()
360 ipsec_get_pcbpolicy(struct inpcb *inp, void *request, size_t *len) in ipsec_get_pcbpolicy()
418 ipsec_control_pcbpolicy(struct inpcb *inp, struct sockopt *sopt) in ipsec_control_pcbpolicy()
461 ipsec4_pcbctl(struct inpcb *inp, struct sockopt *sopt) in ipsec4_pcbctl()
475 ipsec6_pcbctl(struct inpcb *inp, struct sockopt *sopt) in ipsec6_pcbctl()
/f-stack/freebsd/security/mac/
H A Dmac_inet.c99 mac_inpcb_init(struct inpcb *inp, int flag) in mac_inpcb_init()
155 mac_inpcb_destroy(struct inpcb *inp) in mac_inpcb_destroy()
183 mac_inpcb_create(struct socket *so, struct inpcb *inp) in mac_inpcb_create()
233 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) in mac_inpcb_create_mbuf()
357 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m) in mac_inpcb_check_deliver()
380 mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp) in mac_inpcb_check_visible()
394 mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp) in mac_inpcb_sosetlabel()
487 mac_syncache_create(struct label *label, struct inpcb *inp) in mac_syncache_create()

12345