Home
last modified time | relevance | path

Searched refs:SOCK_ZAPPED (Results 1 – 22 of 22) sorted by relevance

/linux/net/llc/
H A Daf_llc.c214 if (!sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_release()
284 if (!sock_flag(sk, SOCK_ZAPPED)) in llc_ui_autobind()
319 sock_reset_flag(sk, SOCK_ZAPPED); in llc_ui_autobind()
350 if (unlikely(!sock_flag(sk, SOCK_ZAPPED) || addrlen != sizeof(*addr))) in llc_ui_bind()
424 sock_reset_flag(sk, SOCK_ZAPPED); in llc_ui_bind()
500 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_connect()
565 if (sock_flag(sk, SOCK_ZAPPED)) in llc_ui_listen()
729 sock_reset_flag(newsk, SOCK_ZAPPED); in llc_ui_accept()
954 if (sock_flag(sk, SOCK_ZAPPED)) { in llc_ui_sendmsg()
974 if (sock_flag(sk, SOCK_ZAPPED) || in llc_ui_sendmsg()
[all …]
/linux/net/bluetooth/rfcomm/
H A Dsock.c83 sock_set_flag(sk, SOCK_ZAPPED); in rfcomm_sk_state_change()
96 if (parent && sock_flag(sk, SOCK_ZAPPED)) { in rfcomm_sk_state_change()
186 sock_set_flag(parent, SOCK_ZAPPED); in rfcomm_sock_cleanup_listen()
194 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in rfcomm_sock_kill()
224 sock_set_flag(sk, SOCK_ZAPPED); in __rfcomm_sock_close()
412 if (!err && !sock_flag(sk, SOCK_ZAPPED)) in rfcomm_sock_connect()
/linux/net/l2tp/
H A Dl2tp_ip.c287 if (!sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip_bind()
323 sock_reset_flag(sk, SOCK_ZAPPED); in l2tp_ip_bind()
346 if (sock_flag(sk, SOCK_ZAPPED)) { in l2tp_ip_connect()
370 if (sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip_disconnect()
H A Dl2tp_ip6.c315 if (!sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip6_bind()
374 sock_reset_flag(sk, SOCK_ZAPPED); in l2tp_ip6_bind()
415 if (sock_flag(sk, SOCK_ZAPPED)) { in l2tp_ip6_connect()
440 if (sock_flag(sk, SOCK_ZAPPED)) in l2tp_ip6_disconnect()
/linux/net/qrtr/
H A Daf_qrtr.c801 sock_reset_flag(sk, SOCK_ZAPPED); in __qrtr_bind()
816 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_autobind()
841 rc = __qrtr_bind(sock, addr, sock_flag(sk, SOCK_ZAPPED)); in qrtr_bind()
1042 if (sock_flag(sk, SOCK_ZAPPED)) { in qrtr_recvmsg()
1224 if (!sock_flag(sk, SOCK_ZAPPED)) in qrtr_release()
1273 sock_set_flag(sk, SOCK_ZAPPED); in qrtr_create()
/linux/net/appletalk/
H A Dddp.c1061 sock_set_flag(sk, SOCK_ZAPPED); in atalk_create()
1145 sock_reset_flag(sk, SOCK_ZAPPED); in atalk_autobind()
1158 if (!sock_flag(sk, SOCK_ZAPPED) || in atalk_bind()
1198 sock_reset_flag(sk, SOCK_ZAPPED); in atalk_bind()
1237 if (sock_flag(sk, SOCK_ZAPPED)) in atalk_connect()
1271 if (sock_flag(sk, SOCK_ZAPPED)) in atalk_getname()
1570 if (sock_flag(sk, SOCK_ZAPPED)) in atalk_sendmsg()
/linux/net/netrom/
H A Daf_netrom.c574 if (!sock_flag(sk, SOCK_ZAPPED)) { in nr_bind()
628 sock_reset_flag(sk, SOCK_ZAPPED); in nr_bind()
679 if (sock_flag(sk, SOCK_ZAPPED)) { /* Must bind first - autobinding in this may or may not work */ in nr_connect()
680 sock_reset_flag(sk, SOCK_ZAPPED); in nr_connect()
1057 if (sock_flag(sk, SOCK_ZAPPED)) { in nr_sendmsg()
/linux/net/rose/
H A Daf_rose.c706 if (!sock_flag(sk, SOCK_ZAPPED)) in rose_bind()
755 sock_reset_flag(sk, SOCK_ZAPPED); in rose_bind()
821 if (sock_flag(sk, SOCK_ZAPPED)) { /* Must bind first - autobinding in this may or may not work */ in rose_connect()
824 sock_reset_flag(sk, SOCK_ZAPPED); in rose_connect()
1115 if (sock_flag(sk, SOCK_ZAPPED)) in rose_sendmsg()
/linux/net/bluetooth/cmtp/
H A Dsock.c220 sock_reset_flag(sk, SOCK_ZAPPED); in cmtp_sock_create()
/linux/net/bluetooth/
H A Dsco.c243 sock_set_flag(sk, SOCK_ZAPPED); in sco_chan_del()
478 sock_set_flag(parent, SOCK_ZAPPED); in sco_sock_cleanup_listen()
486 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in sco_sock_kill()
515 sock_set_flag(sk, SOCK_ZAPPED); in __sco_sock_close()
H A Diso.c258 sock_set_flag(sk, SOCK_ZAPPED); in iso_chan_del()
732 sock_set_flag(parent, SOCK_ZAPPED); in iso_sock_cleanup_listen()
740 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket || in iso_sock_kill()
815 sock_set_flag(sk, SOCK_ZAPPED); in __iso_sock_close()
H A Dl2cap_sock.c193 zapped = sock_flag(sk, SOCK_ZAPPED); in l2cap_sock_connect()
1239 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in l2cap_sock_kill()
1612 sock_set_flag(sk, SOCK_ZAPPED); in l2cap_sock_teardown_cb()
H A Daf_bluetooth.c155 sock_reset_flag(sk, SOCK_ZAPPED); in bt_sock_alloc()
/linux/net/x25/
H A Daf_x25.c699 if (sock_flag(sk, SOCK_ZAPPED)) { in x25_bind()
702 sock_reset_flag(sk, SOCK_ZAPPED); in x25_bind()
800 if (sock_flag(sk, SOCK_ZAPPED)) /* Must bind first - autobinding does not work */ in x25_connect()
1124 if (sock_flag(sk, SOCK_ZAPPED)) in x25_sendmsg()
/linux/net/ax25/
H A Daf_ax25.c1122 if (!sock_flag(sk, SOCK_ZAPPED)) { in ax25_bind()
1155 sock_reset_flag(sk, SOCK_ZAPPED); in ax25_bind()
1267 if (sock_flag(sk, SOCK_ZAPPED)) { in ax25_connect()
1515 if (sock_flag(sk, SOCK_ZAPPED)) { in ax25_sendmsg()
H A Dax25_route.c439 sock_reset_flag(ax25->sk, SOCK_ZAPPED); in ax25_rt_autobind()
/linux/drivers/isdn/mISDN/
H A Dsocket.c608 sock_reset_flag(sk, SOCK_ZAPPED); in data_sock_create()
765 sock_reset_flag(sk, SOCK_ZAPPED); in base_sock_create()
/linux/net/iucv/
H A Daf_iucv.c323 if (!sock_flag(sk, SOCK_ZAPPED) || sk->sk_socket) in iucv_sock_kill()
436 sock_set_flag(sk, SOCK_ZAPPED); in iucv_sock_close()
484 sock_reset_flag(sk, SOCK_ZAPPED); in iucv_sock_alloc()
2143 if (sock_flag(sk, SOCK_ZAPPED)) in afiucv_hs_callback_txnotify()
/linux/net/sctp/
H A Dprotocol.c596 sock_reset_flag(newsk, SOCK_ZAPPED); in sctp_v4_create_accept_sk()
/linux/include/net/
H A Dsock.h933 SOCK_ZAPPED, enumerator
/linux/net/sunrpc/
H A Dxprtsock.c1531 sock_flag(sk, SOCK_ZAPPED), in xs_tcp_state_change()
/linux/net/core/
H A Dsock.c3552 sock_set_flag(sk, SOCK_ZAPPED); in sock_init_data_uid()