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

1 2

  /src/sys/netinet/
in_pcb.c 227 inp->inp_socket = so;
274 struct socket *so = inp->inp_socket;
370 struct socket *so = inp->inp_socket;
417 if (t6 && (reuseport & t6->inp_socket->so_options) == 0)
437 (t->inp_socket->so_options & SO_REUSEPORT) == 0)
438 && (so->so_uidinfo->ui_uid != t->inp_socket->so_uidinfo->ui_uid)) {
451 if (t && (reuseport & t->inp_socket->so_options) == 0)
495 inp->inp_socket->so_proto->pr_domain->dom_sa_any);
541 inp->inp_socket->so_type == SOCK_STREAM)
591 inp->inp_socket->so_options, inp->inp_moptions, &xerror
    [all...]
in_pcb.h 100 struct socket *inp_socket; /* back pointer to socket */ member in struct:inpcb
218 #define inp_lock(inp) solock((inp)->inp_socket)
219 #define inp_unlock(inp) sounlock((inp)->inp_socket)
220 #define inp_locked(inp) solocked((inp)->inp_socket)
tcp_timer.c 347 so = tp->t_inpcb->inp_socket;
469 so = tp->t_inpcb->inp_socket;
544 so = tp->t_inpcb->inp_socket;
618 so = tp->t_inpcb->inp_socket;
tcp_usrreq.c 1149 so = tp->t_inpcb->inp_socket;
1198 struct socket *so = tp->t_inpcb->inp_socket;
1424 if (inp == NULL || (sockp = inp->inp_socket) == NULL)
1432 (inp->inp_socket->so_options & SO_ACCEPTCONN) != 0)
1436 KAUTH_REQ_NETWORK_SOCKET_DROP, inp->inp_socket, tp, NULL);
1459 if (inp == NULL || (sockp = inp->inp_socket) == NULL)
1467 (inp->inp_socket->so_options & SO_ACCEPTCONN) != 0)
1471 KAUTH_REQ_NETWORK_SOCKET_DROP, inp->inp_socket, tp, NULL);
1661 KAUTH_REQ_NETWORK_SOCKET_CANSEE, inp->inp_socket, NULL,
1675 pcb.ki_family = inp->inp_socket->so_proto-
    [all...]
udp_usrreq.c 545 inp->inp_socket);
556 if ((inp->inp_socket->so_options &
600 ret = inp->inp_overudp_cb(mp, off, inp->inp_socket,
630 udp4_sendup(m, off, (struct sockaddr *)src, inp->inp_socket);
647 inp->inp_socket->so_error = errno;
648 sorwakeup(inp->inp_socket);
649 sowwakeup(inp->inp_socket);
846 flags |= inp->inp_socket->so_options & (SO_DONTROUTE|SO_BROADCAST);
raw_ip.c 147 SOOPT_TIMESTAMP(last->inp_socket->so_options))
149 if (sbappendaddr(&last->inp_socket->so_rcv, sa, n, opts) == 0) {
150 soroverflow(last->inp_socket);
154 sorwakeup(last->inp_socket);
304 flags = (inp->inp_socket->so_options & SO_DONTROUTE) |
dccp_usrreq.c 427 so = inp->inp_socket;
662 soisconnected(inp->inp_socket);
711 soisconnected(inp->inp_socket);
918 inp->inp_socket->so_error = errno;
919 sorwakeup(inp->inp_socket);
920 sowwakeup(inp->inp_socket);
956 if (inp->inp_socket != NULL) {
1145 so = inp->inp_socket;
1507 (inp->inp_socket->so_options & SO_DONTROUTE), NULL, NULL,
1514 (inp->inp_socket->so_options & SO_DONTROUTE), 0,
    [all...]
portalgo.c 163 so = inp->inp_socket;
287 req, inp->inp_socket, &sin, NULL);
308 so = inp->inp_socket;
dccp_var.h 155 #define dptosocket(dp) ((dp)->d_inpcb->inp_socket)
tcp_subr.c 620 win = sbspace(&tp->t_inpcb->inp_socket->so_rcv);
1023 so = tp->t_inpcb->inp_socket;
1057 so = inp->inp_socket;
1249 struct socket *so = inp->inp_socket;
1754 so = tp->t_inpcb->inp_socket;
1840 so = tp->t_inpcb->inp_socket;
1869 so = tp->t_inpcb->inp_socket;
tcp_vtw.c 1911 vtw->reuse_port = !!(inp->inp_socket->so_options
1913 vtw->reuse_addr = !!(inp->inp_socket->so_options
1916 vtw->uid = inp->inp_socket->so_uidinfo->ui_uid;
1983 vtw->reuse_port = !!(inp->inp_socket->so_options
1985 vtw->reuse_addr = !!(inp->inp_socket->so_options
1989 vtw->uid = inp->inp_socket->so_uidinfo->ui_uid;
tcp_output.c 255 so = inp->inp_socket;
539 so = tp->t_inpcb->inp_socket;
tcp_input.c 469 so = tp->t_inpcb->inp_socket;
1471 so = inp->inp_socket;
2947 so = tp->t_inpcb->inp_socket;
ip_input.c 1524 struct socket *so = inp->inp_socket;
  /src/sys/netinet6/
in6_pcb.c 236 struct socket *so = inp->inp_socket;
282 if (t && (reuseport & t->inp_socket->so_options) == 0)
299 if (t && (reuseport & t->inp_socket->so_options) == 0)
351 inp->inp_socket->so_proto->pr_domain->dom_sa_any);
415 inp->inp_socket->so_type == SOCK_STREAM)
456 inp->inp_socket->so_options, NULL, &error, &_psref);
530 inp->inp_socket->so_proto->pr_domain->dom_sa_any);
544 if (ipsec_enabled && inp->inp_socket->so_type == SOCK_STREAM)
561 if (inp->inp_socket->so_state & SS_NOFDREF)
725 inp->inp_socket != NULL &
    [all...]
udp6_usrreq.c 180 inp->inp_socket->so_error = errno;
181 sorwakeup(inp->inp_socket);
182 sowwakeup(inp->inp_socket);
399 SOOPT_TIMESTAMP(inp->inp_socket->so_options)) {
495 udp6_sendup(m, off, sin6tosa(src), inp->inp_socket);
506 if ((inp->inp_socket->so_options &
551 ret = inp->inp_overudp_cb(mp, off, inp->inp_socket,
575 udp6_sendup(m, off, sin6tosa(src), inp->inp_socket);
891 inp->inp_socket->so_options, NULL,
924 *((const struct sockaddr_in6 *)inp->inp_socket->so_proto->pr_domain->dom_sa_any)
    [all...]
raw_ip6.c 144 SOOPT_TIMESTAMP(last->inp_socket->so_options))
149 if (sbappendaddr(&last->inp_socket->so_rcv, sa, n, opts) == 0) {
150 soroverflow(last->inp_socket);
155 sorwakeup(last->inp_socket);
icmp6.c 1991 SOOPT_TIMESTAMP(last->inp_socket->so_options))
1995 if (sbappendaddr(&last->inp_socket->so_rcv,
1997 soroverflow(last->inp_socket);
2001 sorwakeup(last->inp_socket);
2018 SOOPT_TIMESTAMP(last->inp_socket->so_options))
2022 if (sbappendaddr(&last->inp_socket->so_rcv,
2024 soroverflow(last->inp_socket);
2028 sorwakeup(last->inp_socket);
ip6_input.c 1069 struct socket *so = inp->inp_socket;
1281 so = inp->inp_socket;
in6_src.c 846 struct socket *so = inp->inp_socket;
  /src/sys/net/npf/
npf_socket.c 170 so = inp->inp_socket;
232 so = in6p->inp_socket;
  /src/usr.bin/systat/
netstat.c 247 KREAD(inp->inp_socket, &sockb, sizeof (sockb));
292 KREAD(inp->inp_socket, &sockb, sizeof (sockb));
  /src/sys/netipsec/
ipsec.c 415 KASSERT(inp->inp_socket != NULL);
578 KASSERT(inp->inp_socket != NULL);
1552 KASSERTMSG(inp == NULL || inp->inp_socket != NULL,
  /src/usr.bin/netstat/
inet.c 313 kread((u_long)inp->inp_socket, (char *)&sockb, sizeof(sockb));
inet6.c 321 kread((u_long)inp->inp_socket, (char *)&sockb,

Completed in 38 milliseconds

1 2