/linux-master/net/ipv6/ |
H A D | addrconf.c | 5533 struct in6_addr *addr = NULL, *peer; local 5552 addr = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer);
|
H A D | af_inet6.c | 524 int peer) 536 if (peer) { 539 peer == 1)) { 523 inet6_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
H A D | icmp.c | 217 struct inet_peer *peer; local 223 peer = inet_getpeer_v6(net->ipv6.peers, &fl6->daddr, 1); 224 res = inet_peer_xrlim_allow(peer, tmo); 225 if (peer) 226 inet_putpeer(peer);
|
H A D | ip6_output.c | 594 struct inet_peer *peer; local 608 peer = inet_getpeer_v6(net->ipv6.peers, &hdr->daddr, 1); 613 if (inet_peer_xrlim_allow(peer, 1*HZ)) 615 if (peer) 616 inet_putpeer(peer);
|
H A D | ndisc.c | 1682 struct inet_peer *peer; local 1732 peer = inet_getpeer_v6(net->ipv6.peers, &ipv6_hdr(skb)->saddr, 1); 1733 ret = inet_peer_xrlim_allow(peer, 1*HZ); 1734 if (peer) 1735 inet_putpeer(peer);
|
/linux-master/net/iucv/ |
H A D | af_iucv.c | 852 int peer) 860 if (peer) { 851 iucv_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) argument
|
/linux-master/net/l2tp/ |
H A D | l2tp_ip.c | 352 int peer) 361 if (peer) { 351 l2tp_ip_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
H A D | l2tp_ip6.c | 418 int peer) 429 if (peer) { 417 l2tp_ip6_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
H A D | l2tp_ppp.c | 22 * peer tunnel_id / session_id set. Data can then be sent or received using 26 * When a PPPoL2TP socket is connected with local and peer session_id values 903 int peer) 902 pppol2tp_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
/linux-master/net/llc/ |
H A D | af_llc.c | 1023 * @peer: Does user want local or remote address information. 1028 int peer) 1039 if (peer) { 1027 llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
/linux-master/net/mac80211/ |
H A D | cfg.c | 1701 * When peer becomes associated, init rate control as 2016 * TDLS peer. 4173 const u8 *peer, u64 *cookie) 4192 sta = sta_info_get_bss(sdata, peer); 4351 u8 tsid, const u8 *peer, u8 up, 4377 u8 tsid, const u8 *peer) 4621 if (!tid_conf->peer) 4624 sta = sta_info_get_bss(sdata, tid_conf->peer); 4633 const u8 *peer, u8 tids) 4643 if (!peer) 4172 ieee80211_probe_client(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, u64 *cookie) argument 4350 ieee80211_add_tx_ts(struct wiphy *wiphy, struct net_device *dev, u8 tsid, const u8 *peer, u8 up, u16 admitted_time) argument 4376 ieee80211_del_tx_ts(struct wiphy *wiphy, struct net_device *dev, u8 tsid, const u8 *peer) argument 4631 ieee80211_reset_tid_config(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, u8 tids) argument [all...] |
H A D | ieee80211_i.h | 2601 const u8 *peer, int link_id, 2606 const u8 *peer, enum nl80211_tdls_operation oper); 2616 const u8 *peer, u16 reason);
|
H A D | tdls.c | 36 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); 204 struct sk_buff *skb, const u8 *peer, 213 rsp_addr = peer; 215 init_addr = peer; 366 struct sk_buff *skb, const u8 *peer, 435 /* we should have the peer STA if we're already responding */ 437 sta = sta_info_get(sdata, peer); 466 /* the peer caps are already intersected with our own */ 477 ieee80211_tdls_add_link_ie(link, skb, peer, initiator); 521 /* the peer cap 203 ieee80211_tdls_add_link_ie(struct ieee80211_link_data *link, struct sk_buff *skb, const u8 *peer, bool initiator) argument 365 ieee80211_tdls_add_setup_start_ies(struct ieee80211_link_data *link, struct sk_buff *skb, const u8 *peer, u8 action_code, bool initiator, const u8 *extra_ies, size_t extra_ies_len) argument 592 ieee80211_tdls_add_setup_cfm_ies(struct ieee80211_link_data *link, struct sk_buff *skb, const u8 *peer, bool initiator, const u8 *extra_ies, size_t extra_ies_len) argument 689 ieee80211_tdls_add_chan_switch_req_ies(struct ieee80211_link_data *link, struct sk_buff *skb, const u8 *peer, bool initiator, const u8 *extra_ies, size_t extra_ies_len, u8 oper_class, struct cfg80211_chan_def *chandef) argument 728 ieee80211_tdls_add_chan_switch_resp_ies(struct ieee80211_link_data *link, struct sk_buff *skb, const u8 *peer, u16 status_code, bool initiator, const u8 *extra_ies, size_t extra_ies_len) argument 741 ieee80211_tdls_add_ies(struct ieee80211_link_data *link, struct sk_buff *skb, const u8 *peer, u8 action_code, u16 status_code, bool initiator, const u8 *extra_ies, size_t extra_ies_len, u8 oper_class, struct cfg80211_chan_def *chandef) argument 791 ieee80211_prep_tdls_encap_data(struct wiphy *wiphy, struct net_device *dev, struct ieee80211_link_data *link, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, struct sk_buff *skb) argument 874 ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, struct ieee80211_link_data *link, u8 action_code, u8 dialog_token, u16 status_code, struct sk_buff *skb) argument 909 ieee80211_tdls_build_mgmt_packet_data(struct ieee80211_sub_if_data *sdata, const u8 *peer, int link_id, u8 action_code, u8 dialog_token, u16 status_code, bool initiator, const u8 *extra_ies, size_t extra_ies_len, u8 oper_class, struct cfg80211_chan_def *chandef) argument 998 ieee80211_tdls_prep_mgmt_packet(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, int link_id, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capability, bool initiator, const u8 *extra_ies, size_t extra_ies_len, u8 oper_class, struct cfg80211_chan_def *chandef) argument 1136 ieee80211_tdls_mgmt_setup(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, int link_id, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capability, bool initiator, const u8 *extra_ies, size_t extra_ies_len) argument 1207 ieee80211_tdls_mgmt_teardown(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, int link_id, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capability, bool initiator, const u8 *extra_ies, size_t extra_ies_len) argument 1255 ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, int link_id, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capability, bool initiator, const u8 *extra_ies, size_t extra_ies_len) argument 1411 ieee80211_tdls_oper(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, enum nl80211_tdls_operation oper) argument 1501 ieee80211_tdls_oper_request(struct ieee80211_vif *vif, const u8 *peer, enum nl80211_tdls_operation oper, u16 reason_code, gfp_t gfp) argument 2053 ieee80211_tdls_handle_disconnect(struct ieee80211_sub_if_data *sdata, const u8 *peer, u16 reason) argument [all...] |
/linux-master/net/mctp/ |
H A D | route.c | 79 * MCTP tag management. The lookup tuple for these is the peer EID, 82 * In some cases, the peer EID may be MCTP_EID_ANY: for example, when a 83 * broadcast message is sent, we may receive responses from any peer EID. 85 * a key with (local = local-eid, peer = ANY). This allows a match on the 86 * incoming broadcast responses from any peer. 92 * unused tag value for the (local, peer) EID pair. 95 * for the peer EID, but don't have a specific local EID at that stage. 98 * (local = ANY, peer = peer-eid). 100 * So, the key set allows both a local EID of ANY, as well as a peer EI 110 mctp_key_match(struct mctp_sk_key *key, unsigned int net, mctp_eid_t local, mctp_eid_t peer, u8 tag) argument 170 mctp_key_alloc(struct mctp_sock *msk, unsigned int net, mctp_eid_t local, mctp_eid_t peer, u8 tag, gfp_t gfp) argument 647 mctp_alloc_local_tag(struct mctp_sock *msk, unsigned int netid, mctp_eid_t local, mctp_eid_t peer, bool manual, u8 *tagp) argument [all...] |
/linux-master/net/netlink/ |
H A D | af_netlink.c | 1136 int peer) 1145 if (peer) { 1135 netlink_getname(struct socket *sock, struct sockaddr *addr, int peer) argument
|
/linux-master/net/netrom/ |
H A D | af_netrom.c | 839 int peer) 849 if (peer != 0) { 838 nr_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
/linux-master/net/nfc/ |
H A D | llcp_sock.c | 504 int peer) 503 llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
/linux-master/net/packet/ |
H A D | af_packet.c | 3563 int peer) 3568 if (peer) 3583 int peer) 3591 if (peer) 3562 packet_getname_spkt(struct socket *sock, struct sockaddr *uaddr, int peer) argument 3582 packet_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
/linux-master/net/phonet/ |
H A D | pep.c | 91 struct sockaddr_pn peer; local 103 pn_skb_get_src_sockaddr(oskb, &peer); 104 return pn_skb_send(sk, skb, &peer);
|
H A D | socket.c | 316 int peer) 323 if (!peer) /* Race with bind() here is userland's problem. */ 315 pn_socket_getname(struct socket *sock, struct sockaddr *addr, int peer) argument
|
/linux-master/net/qrtr/ |
H A D | af_qrtr.c | 93 struct sockaddr_qrtr peer; member in struct:qrtr_sock 847 /* Queue packet to local peer socket. */ 939 addr = &ipc->peer; 1109 ipc->peer = *addr; 1119 int peer) 1126 if (peer) { 1132 qaddr = ipc->peer; 1118 qrtr_getname(struct socket *sock, struct sockaddr *saddr, int peer) argument
|
/linux-master/net/rds/ |
H A D | af_rds.c | 115 int peer) 123 if (peer) { 602 * the peer address must be on the same link. 114 rds_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
/linux-master/net/rose/ |
H A D | af_rose.c | 988 int peer) 996 if (peer != 0) { 987 rose_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
|
/linux-master/net/rxrpc/ |
H A D | af_rxrpc.c | 285 * rxrpc_kernel_get_peer - Get a reference on a peer 286 * @peer: The peer to get a reference on. 288 * Get a record for the remote peer in a call. 290 struct rxrpc_peer *rxrpc_kernel_get_peer(struct rxrpc_peer *peer) argument 292 return peer ? rxrpc_get_peer(peer, rxrpc_peer_get_application) : NULL; 297 * rxrpc_kernel_put_peer - Allow a kernel app to drop a peer reference 298 * @peer: The peer t 300 rxrpc_kernel_put_peer(struct rxrpc_peer *peer) argument 328 rxrpc_kernel_begin_call(struct socket *sock, struct rxrpc_peer *peer, struct key *key, unsigned long user_call_ID, s64 tx_total_len, u32 hard_timeout, gfp_t gfp, rxrpc_notify_rx_t notify_rx, u16 service_id, bool upgrade, enum rxrpc_interruptibility interruptibility, unsigned int debug_id) argument [all...] |
H A D | ar-internal.h | 341 unsigned int if_mtu; /* interface MTU for this peer */ 342 unsigned int mtu; /* network MTU for this peer */ 379 struct rxrpc_peer *peer; /* Representation of remote endpoint */ member in struct:rxrpc_conn_parameters 392 RXRPC_CALL_REMOTELY_ABORTED, /* - call aborted by peer */ 403 RXRPC_CONN_IN_SERVICE_CONNS, /* Conn is in peer->service_conns */ 445 struct rxrpc_peer *peer; /* Remote endpoint */ member in struct:rxrpc_bundle 467 * - matched by { local, peer, epoch, conn_id, direction } 473 struct rxrpc_peer *peer; /* Remote endpoint */ member in struct:rxrpc_connection 502 struct rb_node service_node; /* Node in peer->service_conns */ 563 RXRPC_CALL_RX_HEARD, /* The peer responde 618 struct rxrpc_peer *peer; /* Peer record for remote address */ member in struct:rxrpc_call [all...] |