Searched defs:how (Results 1 - 22 of 22) sorted by relevance

/net/atm/
H A Dpvc.c21 static int pvc_shutdown(struct socket *sock, int how) argument
H A Dsvc.c40 static int svc_shutdown(struct socket *sock, int how) argument
/net/bluetooth/
H A Dl2cap_sock.c859 static int l2cap_sock_shutdown(struct socket *sock, int how) argument
H A Dsco.c863 static int sco_sock_shutdown(struct socket *sock, int how) argument
/net/bluetooth/rfcomm/
H A Dsock.c876 static int rfcomm_sock_shutdown(struct socket *sock, int how) argument
/net/dccp/
H A Dproto.c1078 void dccp_shutdown(struct sock *sk, int how) argument
1080 dccp_pr_debug("called shutdown(%x)\n", how);
/net/llc/
H A Daf_llc.c389 * @how: What part of the socket to shutdown.
397 static int llc_ui_shutdown(struct socket *sock, int how) argument
406 if (how != 2)
817 /* Ok so how much can we use? */
/net/ax25/
H A Daf_ax25.c1674 static int ax25_shutdown(struct socket *sk, int how) argument
/net/ipv4/
H A Daf_inet.c826 int inet_shutdown(struct socket *sock, int how) argument
834 how++; /* maps 0->1 has the advantage of making bit 1 rcvs and
837 if ((how & ~SHUTDOWN_MASK) || !how) /* MAXINT->0 */
855 sk->sk_shutdown |= how;
857 sk->sk_prot->shutdown(sk, how);
865 if (!(how & RCV_SHUTDOWN))
H A Droute.c145 int how)
144 ipv4_dst_ifdown(struct dst_entry *dst, struct net_device *dev, int how) argument
H A Dtcp.c138 * between specifications and how BSD
472 * Actually, it is interesting to look how Solaris and DUX
1804 /* Ok so how much can we use? */
2031 void tcp_shutdown(struct sock *sk, int how) argument
2037 if (!(how & SEND_SHUTDOWN))
H A Dtcp_input.c658 * does not matter how to _calculate_ it. Seems, it was trap
1834 /* Enter Loss state. If "how" is not zero, forget all SACK information
1838 void tcp_enter_loss(struct sock *sk, int how) argument
1864 if (how) {
1877 if (!(TCP_SKB_CB(skb)->sacked&TCPCB_SACKED_ACKED) || how) {
3023 /* Determine how many packets and what bytes were acked, tso and else */
/net/irda/
H A Daf_irda.c1360 /* Tell client how much data we actually sent */
1375 * after being read, regardless of how much the user actually read
1728 * Function irda_shutdown (sk, how)
1730 static int irda_shutdown(struct socket *sock, int how) argument
/net/tipc/
H A Dsocket.c1589 * @how: direction to close (must be SHUT_RDWR)
1595 static int shutdown(struct socket *sock, int how) argument
1602 if (how != SHUT_RDWR)
/net/core/
H A Dsock.c44 * Alan Cox : Added RCVBUF,SNDBUF size setting. It suddenly occurred to me how easy it was so...
1892 * @timeo: for how long
2075 int sock_no_shutdown(struct socket *sock, int how) argument
/net/decnet/
H A Daf_decnet.c1296 static int dn_shutdown(struct socket *sock, int how) argument
1315 if (how != SHUT_RDWR)
H A Ddn_route.c117 static void dn_dst_ifdown(struct dst_entry *, struct net_device *dev, int how);
164 static void dn_dst_ifdown(struct dst_entry *dst, struct net_device *dev, int how) argument
166 if (how) {
/net/iucv/
H A Daf_iucv.c1491 static int iucv_sock_shutdown(struct socket *sock, int how) argument
1498 how++;
1500 if ((how & ~SHUTDOWN_MASK) || !how)
1515 if (how == SEND_SHUTDOWN || how == SHUTDOWN_MASK) {
1538 sk->sk_shutdown |= how;
1539 if (how == RCV_SHUTDOWN || how == SHUTDOWN_MASK) {
2163 how shoul
[all...]
/net/ipv6/
H A Droute.c76 struct net_device *dev, int how);
325 int how)
324 ip6_dst_ifdown(struct dst_entry *dst, struct net_device *dev, int how) argument
H A Daddrconf.c152 static int addrconf_ifdown(struct net_device *dev, int how);
3066 static int addrconf_ifdown(struct net_device *dev, int how) argument
3086 if (how) {
3116 if (!how)
3120 if (how && del_timer(&idev->regen_timer))
3167 if (how) {
3177 if (how) {
/net/sctp/
H A Dsocket.c3576 /* I can hardly begin to describe how wrong this is. This is
4024 * int shutdown(int socket, int how);
4027 * how - Specifies the type of shutdown. The values are
4039 SCTP_STATIC void sctp_shutdown(struct sock *sk, int how) argument
4048 if (how & SEND_SHUTDOWN) {
5720 /* I can hardly begin to describe how wrong this is. This is
/net/
H A Dsocket.c1202 int sock_wake_async(struct socket *sock, int how, int band) argument
1214 switch (how) {
1932 SYSCALL_DEFINE2(shutdown, int, fd, int, how)
1939 err = security_socket_shutdown(sock, how);
1941 err = sock->ops->shutdown(sock, how);
3455 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) argument
3457 return sock->ops->shutdown(sock, how);

Completed in 373 milliseconds