HomeSort by: relevance | last modified time | path
    Searched refs:inpcb (Results 1 - 25 of 50) sorted by relevancy

1 2

  /src/sys/netinet/
in_pcb.h 89 struct inpcb { struct
90 LIST_ENTRY(inpcb) inp_hash;
91 LIST_ENTRY(inpcb) inp_lhash;
92 TAILQ_ENTRY(inpcb) inp_queue;
118 struct inpcb in4p_pcb;
125 #define in4p_faddr(inpcb) (((struct in4pcb *)(inpcb))->in4p_ip.ip_dst)
126 #define in4p_laddr(inpcb) (((struct in4pcb *)(inpcb))->in4p_ip.ip_src)
127 #define const_in4p_faddr(inpcb) (((const struct in4pcb *)(inpcb))->in4p_ip.ip_dst
    [all...]
portalgo.h 36 struct inpcb;
37 int portalgo_randport(uint16_t *, struct inpcb *, kauth_cred_t);
43 int portalgo_algo_index_select(struct inpcb *, int);
ip_var.h 86 * Structure stored in mbuf in inpcb.ip_options
99 * Structure attached to inpcb.ip_moptions and
205 struct inpcb;
213 struct inpcb *, kauth_cred_t);
218 u_int ip_optlen(struct inpcb *);
220 struct ip_moptions *, struct inpcb *);
228 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
240 int rip_output(struct mbuf *, struct inpcb *, struct mbuf *, struct lwp *);
portalgo.c 108 int (*func)(int, uint16_t *, struct inpcb *, kauth_cred_t);
111 static int algo_bsd(int, uint16_t *, struct inpcb *, kauth_cred_t);
112 static int algo_random_start(int, uint16_t *, struct inpcb *, kauth_cred_t);
113 static int algo_random_pick(int, uint16_t *, struct inpcb *, kauth_cred_t);
114 static int algo_hash(int, uint16_t *, struct inpcb *, kauth_cred_t);
115 static int algo_doublehash(int, uint16_t *, struct inpcb *, kauth_cred_t);
116 static int algo_randinc(int, uint16_t *, struct inpcb *, kauth_cred_t);
154 pcb_getports(struct inpcb *inp, uint16_t *lastport,
240 check_suitable_port(uint16_t port, struct inpcb *inp, kauth_cred_t cred)
257 struct inpcb *pcb
    [all...]
in_pcb.c 203 struct inpcb *inp;
271 inpcb_set_port(struct sockaddr_in *sin, struct inpcb *inp, kauth_cred_t cred)
317 inpcb_bindableaddr(const struct inpcb *inp, struct sockaddr_in *sin,
356 inpcb_bind_addr(struct inpcb *inp, struct sockaddr_in *sin, kauth_cred_t cred)
367 inpcb_bind_port(struct inpcb *inp, struct sockaddr_in *sin, kauth_cred_t cred)
391 struct inpcb *t;
394 struct inpcb *t6;
480 struct inpcb *inp = v;
525 struct inpcb *inp = v;
662 struct inpcb *inp = v
    [all...]
raw_ip.c 108 struct in_addr, int, int, void (*)(struct inpcb *, int));
109 static int rip_connect_pcb(struct inpcb *, struct sockaddr_in *);
110 static void rip_disconnect1(struct inpcb *);
139 rip_sbappendaddr(struct inpcb *last, struct ip *ip, const struct sockaddr *sa,
167 struct inpcb *inp;
168 struct inpcb *last = NULL;
239 void (*notify)(struct inpcb *, int))
241 struct inpcb *inp;
264 void (*notify)(struct inpcb *, int) = inpcb_rtchange;
295 rip_output(struct mbuf *m, struct inpcb *inp, struct mbuf *control
    [all...]
udp_var.h 92 int udp_output(struct mbuf *, struct inpcb *, struct mbuf *, struct lwp *);
dccp_var.h 98 struct inpcb *d_inpcb; /* Pointer back to Internet PCB */
138 struct inpcb inp;
146 struct inpcb xd_inp;
289 void dccp_notify(struct inpcb *, int);
udp_usrreq.c 139 static void udp_notify (struct inpcb *, int);
446 struct inpcb *inp;
489 struct inpcb *inp;
645 udp_notify(struct inpcb *inp, int errno)
657 void (*notify)(struct inpcb *, int) = udp_notify;
694 struct inpcb *inp;
766 udp_output(struct mbuf *m, struct inpcb *inp, struct mbuf *control,
858 struct inpcb *inp;
892 struct inpcb *inp;
913 struct inpcb *inp = sotoinpcb(so)
    [all...]
tcp_var.h 255 struct inpcb *t_inpcb; /* back pointer to internet pcb */
823 tcp_newtcpcb(int, struct inpcb *);
824 void tcp_notify(struct inpcb *, int);
829 void tcp_quench(struct inpcb *);
830 void tcp_mtudisc(struct inpcb *, int);
dccp_usrreq.c 190 struct inpcb *inp = NULL, *oinp = NULL;
916 dccp_notify(struct inpcb *inp, int errno)
933 void (*notify)(struct inpcb *, int) = dccp_notify;
935 struct inpcb *inp = NULL;
1051 struct inpcb *inp;
1111 struct inpcb *inp;
1551 struct inpcb *inp = NULL;
1573 struct inpcb *inp = dp->d_inpcb;
1603 struct inpcb *inp = NULL;
1654 struct inpcb *inp
    [all...]
  /src/sys/netipsec/
ipsec6.h 49 struct inpcb;
52 struct secpolicy *ipsec6_check_policy(struct mbuf *, struct inpcb *,
ipsec.h 129 struct inpcb *sp_inp; /* back pointer */
277 struct inpcb;
278 int ipsec4_output(struct mbuf *, struct inpcb *, int, u_long *, bool *, bool *, bool *);
286 struct inpcb;
291 int ipsec_set_policy(struct inpcb *, const void *, size_t, kauth_cred_t);
292 int ipsec_get_policy(struct inpcb *, const void *, size_t, struct mbuf **);
293 int ipsec_delete_pcbpolicy(struct inpcb *);
294 int ipsec_in_reject(struct mbuf *, struct inpcb *);
304 size_t ipsec_hdrsiz(struct mbuf *, u_int, struct inpcb *);
  /src/tests/net/inpcb/
Makefile 6 TESTSDIR= ${TESTSBASE}/net/inpcb
  /src/sys/netinet6/
udp6_var.h 100 int udp6_output(struct inpcb *, struct mbuf *, struct sockaddr_in6 *,
in6_pcb.c 144 in6pcb_bind_addr(struct inpcb *inp, struct sockaddr_in6 *sin6, struct lwp *l)
233 in6pcb_bind_port(struct inpcb *inp, struct sockaddr_in6 *sin6, struct lwp *l)
276 struct inpcb *t;
294 struct inpcb *t;
328 struct inpcb *inp = v;
365 * inpcb.
388 struct inpcb *inp = v;
551 in6pcb_disconnect(struct inpcb *inp)
566 in6pcb_fetch_sockaddr(struct inpcb *inp, struct sockaddr_in6 *sin6)
577 in6pcb_fetch_peeraddr(struct inpcb *inp, struct sockaddr_in6 *sin6
    [all...]
ip6_var.h 291 struct inpcb;
309 void ip6_savecontrol(struct inpcb *, struct mbuf **, struct ip6_hdr *,
311 void ip6_notify_pmtu(struct inpcb *, const struct sockaddr_in6 *,
320 struct ip6_moptions *, struct inpcb *, struct ifnet **);
331 int ip6_optlen(struct inpcb *);
raw_ip6.c 138 rip6_sbappendaddr(struct inpcb *last, struct ip6_hdr *ip6,
169 struct inpcb *inp;
170 struct inpcb *last = NULL;
274 void (*notify)(struct inpcb *, int) = in6pcb_rtchange;
309 struct inpcb *inp;
372 struct inpcb *inp;
589 struct inpcb *inp;
627 struct inpcb *inp = sotoinpcb(so);
654 struct inpcb *inp = sotoinpcb(so);
708 struct inpcb *inp = sotoinpcb(so)
    [all...]
udp6_usrreq.c 137 static void udp6_notify(struct inpcb *, int);
178 udp6_notify(struct inpcb *inp, int errno)
196 void (*notify)(struct inpcb *, int) = udp6_notify;
305 struct inpcb *inp;
381 struct inpcb *inp;
423 struct inpcb *inp;
734 udp6_output(struct inpcb * const inp, struct mbuf *m,
1066 struct inpcb *inp;
1098 struct inpcb *inp = sotoinpcb(so);
1120 struct inpcb *inp = sotoinpcb(so)
    [all...]
dccp6_usrreq.c 117 struct inpcb *inp;
149 struct inpcb *inp;
235 struct inpcb *inp;
266 struct inpcb *inp = NULL;
  /src/tests/net/
Makefile 11 TESTS_SUBDIRS+= if_tun if_vether if_vlan if_wg inpcb ipsec mcast mpls
  /src/usr.bin/systat/
extern.h 69 struct inpcb;
71 int checkhost(struct inpcb *);
72 int checkport(struct inpcb *);
74 int checkhost6(struct inpcb *);
netstat.c 81 static void enter(struct inpcb *, struct socket *, int, const char *);
86 static void enter6(struct inpcb *, struct socket *, int, const char *);
216 struct inpcb **pprev, *next;
218 struct inpcb *inpcbp, *inp;
227 inpcbp = (struct inpcb *)next;
229 inp = (struct inpcb *)&in4pcb;
261 struct inpcb **pprev, *next;
265 struct inpcb *inp, *inpcbp;
272 inpcbp = (struct inpcb *)next;
274 inp = (struct inpcb *)&in6pcb
    [all...]
netcmds.c 237 checkport(struct inpcb *inp)
324 checkhost(struct inpcb *inp)
343 checkhost6(struct inpcb *inp)
  /src/sys/net/npf/
npf_socket.c 120 struct inpcb *inp = NULL;
181 struct inpcb *in6p = NULL;

Completed in 56 milliseconds

1 2