Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 251) sorted by relevance

1234567891011

/net/vmw_vsock/
Dvsock_addr.c22 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port) in vsock_addr_init()
31 int vsock_addr_validate(const struct sockaddr_vm *addr) in vsock_addr_validate()
46 bool vsock_addr_bound(const struct sockaddr_vm *addr) in vsock_addr_bound()
52 void vsock_addr_unbind(struct sockaddr_vm *addr) in vsock_addr_unbind()
58 bool vsock_addr_equals_addr(const struct sockaddr_vm *addr, in vsock_addr_equals_addr()
66 int vsock_addr_cast(const struct sockaddr *addr, in vsock_addr_cast()
Daf_vsock.c159 #define VSOCK_HASH(addr) ((addr)->svm_port % VSOCK_HASH_SIZE) argument
160 #define vsock_bound_sockets(addr) (&vsock_bind_table[VSOCK_HASH(addr)]) argument
224 static struct sock *__vsock_find_bound_socket(struct sockaddr_vm *addr) in __vsock_find_bound_socket()
295 struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr) in vsock_find_bound_socket()
503 struct sockaddr_vm *addr) in __vsock_bind_stream()
558 struct sockaddr_vm *addr) in __vsock_bind_dgram()
563 static int __vsock_bind(struct sock *sk, struct sockaddr_vm *addr) in __vsock_bind()
750 vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in vsock_bind()
769 struct sockaddr *addr, int *addr_len, int peer) in vsock_getname()
1047 struct sockaddr *addr, int addr_len, int flags) in vsock_dgram_connect()
[all …]
/net/sctp/
Dbind_addr.c63 struct sctp_sockaddr_entry *addr; in sctp_bind_addr_copy() local
107 struct sctp_sockaddr_entry *addr; in sctp_bind_addr_dup() local
134 struct sctp_sockaddr_entry *addr, *temp; in sctp_bind_addr_clean() local
155 struct sctp_sockaddr_entry *addr; in sctp_add_bind_addr() local
189 struct sctp_sockaddr_entry *addr, *temp; in sctp_del_bind_addr() local
228 struct sctp_sockaddr_entry *addr; in sctp_bind_addrs_to_raw() local
276 union sctp_addr addr; in sctp_raw_to_bind_addrs() local
317 const union sctp_addr *addr, in sctp_bind_addr_match()
341 const union sctp_addr *addr, in sctp_bind_addr_conflict()
376 const union sctp_addr *addr) in sctp_bind_addr_state()
[all …]
Dipv6.c93 struct sctp_sockaddr_entry *addr = NULL; in sctp_inet6addr_event() local
407 struct sctp_sockaddr_entry *addr; in sctp_v6_copy_addrlist() local
434 static void sctp_v6_from_skb(union sctp_addr *addr, struct sk_buff *skb, in sctp_v6_from_skb()
456 static void sctp_v6_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v6_from_sk()
464 static void sctp_v6_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v6_to_sk_saddr()
478 static void sctp_v6_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v6_to_sk_daddr()
491 static bool sctp_v6_from_addr_param(union sctp_addr *addr, in sctp_v6_from_addr_param()
510 static int sctp_v6_to_addr_param(const union sctp_addr *addr, in sctp_v6_to_addr_param()
523 static void sctp_v6_to_addr(union sctp_addr *addr, struct in6_addr *saddr, in sctp_v6_to_addr()
577 static void sctp_v6_inaddr_any(union sctp_addr *addr, __be16 port) in sctp_v6_inaddr_any()
[all …]
Dprotocol.c141 struct sctp_sockaddr_entry *addr; in sctp_v4_copy_addrlist() local
186 struct sctp_sockaddr_entry *addr; in sctp_free_local_addr_list() local
200 struct sctp_sockaddr_entry *addr; in sctp_copy_local_addr_list() local
232 static void sctp_v4_from_skb(union sctp_addr *addr, struct sk_buff *skb, in sctp_v4_from_skb()
254 static void sctp_v4_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v4_from_sk()
263 static void sctp_v4_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_saddr()
269 static void sctp_v4_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_daddr()
275 static bool sctp_v4_from_addr_param(union sctp_addr *addr, in sctp_v4_from_addr_param()
293 static int sctp_v4_to_addr_param(const union sctp_addr *addr, in sctp_v4_to_addr_param()
330 static void sctp_v4_inaddr_any(union sctp_addr *addr, __be16 port) in sctp_v4_inaddr_any()
[all …]
/net/tipc/
Daddr.c44 int in_own_cluster(struct net *net, u32 addr) in in_own_cluster()
49 int in_own_cluster_exact(struct net *net, u32 addr) in in_own_cluster_exact()
59 int in_own_node(struct net *net, u32 addr) in in_own_node()
91 int tipc_addr_domain_valid(u32 addr) in tipc_addr_domain_valid()
111 int tipc_addr_node_valid(u32 addr) in tipc_addr_node_valid()
116 int tipc_in_scope(u32 domain, u32 addr) in tipc_in_scope()
141 char *tipc_addr_string_fill(char *string, u32 addr) in tipc_addr_string_fill()
Deth_media.c41 static int tipc_eth_addr2str(struct tipc_media_addr *addr, in tipc_eth_addr2str()
52 static int tipc_eth_addr2msg(char *msg, struct tipc_media_addr *addr) in tipc_eth_addr2msg()
62 struct tipc_media_addr *addr, in tipc_eth_raw2addr()
76 struct tipc_media_addr *addr, in tipc_eth_msg2addr()
Dib_media.c58 static int tipc_ib_addr2msg(char *msg, struct tipc_media_addr *addr) in tipc_ib_addr2msg()
67 struct tipc_media_addr *addr, in tipc_ib_raw2addr()
80 struct tipc_media_addr *addr, in tipc_ib_msg2addr()
Daddr.h56 static inline u32 tipc_zone_mask(u32 addr) in tipc_zone_mask()
61 static inline u32 tipc_cluster_mask(u32 addr) in tipc_cluster_mask()
Dname_distr.c227 u32 addr) in tipc_publ_subscribe()
248 u32 addr) in tipc_publ_unsubscribe()
268 static void tipc_publ_purge(struct net *net, struct publication *publ, u32 addr) in tipc_publ_purge()
291 void tipc_publ_notify(struct net *net, struct list_head *nsub_list, u32 addr) in tipc_publ_notify()
366 char addr[16]; in tipc_named_process_backlog() local
/net/core/
Ddev_addr_lists.c24 const unsigned char *addr, int addr_len, in __hw_addr_create_ex()
50 const unsigned char *addr, int addr_len, in __hw_addr_add_ex()
85 const unsigned char *addr, int addr_len, in __hw_addr_add()
117 const unsigned char *addr, int addr_len, in __hw_addr_del_ex()
131 const unsigned char *addr, int addr_len, in __hw_addr_del()
363 unsigned char addr[MAX_ADDR_LEN]; in dev_addr_init() local
397 int dev_addr_add(struct net_device *dev, const unsigned char *addr, in dev_addr_add()
422 int dev_addr_del(struct net_device *dev, const unsigned char *addr, in dev_addr_del()
457 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr) in dev_uc_add_excl()
488 int dev_uc_add(struct net_device *dev, const unsigned char *addr) in dev_uc_add()
[all …]
/net/netlabel/
Dnetlabel_addrlist.c60 struct netlbl_af4list *netlbl_af4list_search(__be32 addr, in netlbl_af4list_search()
84 struct netlbl_af4list *netlbl_af4list_search_exact(__be32 addr, in netlbl_af4list_search_exact()
110 struct netlbl_af6list *netlbl_af6list_search(const struct in6_addr *addr, in netlbl_af6list_search()
135 struct netlbl_af6list *netlbl_af6list_search_exact(const struct in6_addr *addr, in netlbl_af6list_search_exact()
253 struct netlbl_af4list *netlbl_af4list_remove(__be32 addr, __be32 mask, in netlbl_af4list_remove()
293 struct netlbl_af6list *netlbl_af6list_remove(const struct in6_addr *addr, in netlbl_af6list_remove()
326 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr()
360 const struct in6_addr *addr, in netlbl_af6list_audit_addr()
Dnetlabel_addrlist.h48 __be32 addr; member
63 struct in6_addr addr; member
130 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr()
201 const struct in6_addr *addr, in netlbl_af6list_audit_addr()
Dnetlabel_unlabeled.c251 const struct in_addr *addr, in netlbl_unlhsh_add_addr4()
291 const struct in6_addr *addr, in netlbl_unlhsh_add_addr6()
385 const void *addr, in netlbl_unlhsh_add()
487 const struct in_addr *addr, in netlbl_unlhsh_remove_addr4()
549 const struct in6_addr *addr, in netlbl_unlhsh_remove_addr6()
649 const void *addr, in netlbl_unlhsh_remove()
784 void **addr, in netlbl_unlabel_addrinfo_get()
901 void *addr; in netlbl_unlabel_staticadd() local
952 void *addr; in netlbl_unlabel_staticadddef() local
1002 void *addr; in netlbl_unlabel_staticremove() local
[all …]
Dnetlabel_kapi.c70 const void *addr, in netlbl_cfg_map_del()
104 const void *addr, in netlbl_cfg_unlbl_map_add()
216 const void *addr, in netlbl_cfg_unlbl_static_add()
259 const void *addr, in netlbl_cfg_unlbl_static_del()
331 const struct in_addr *addr, in netlbl_cfg_cipsov4_map_add()
886 struct sockaddr *addr, in netlbl_conn_setattr()
/net/bridge/
Dbr_fdb.c94 static void fdb_add_hw_addr(struct net_bridge *br, const unsigned char *addr) in fdb_add_hw_addr()
122 static void fdb_del_hw_addr(struct net_bridge *br, const unsigned char *addr) in fdb_del_hw_addr()
166 const unsigned char *addr = f->addr.addr; in fdb_delete_local() local
198 const unsigned char *addr, u16 vid) in br_fdb_find_delete_local()
375 const unsigned char *addr, in __br_fdb_get()
396 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr) in br_fdb_test_addr()
470 const unsigned char *addr, in fdb_find()
484 const unsigned char *addr, in fdb_find_rcu()
499 const unsigned char *addr, in fdb_create()
522 const unsigned char *addr, u16 vid) in fdb_insert()
[all …]
/net/ipv6/
Danycast.c53 int ipv6_sock_ac_join(struct sock *sk, int ifindex, const struct in6_addr *addr) in ipv6_sock_ac_join()
142 int ipv6_sock_ac_drop(struct sock *sk, int ifindex, const struct in6_addr *addr) in ipv6_sock_ac_drop()
226 const struct in6_addr *addr) in aca_alloc()
250 int __ipv6_dev_ac_inc(struct inet6_dev *idev, const struct in6_addr *addr) in __ipv6_dev_ac_inc()
307 int __ipv6_dev_ac_dec(struct inet6_dev *idev, const struct in6_addr *addr) in __ipv6_dev_ac_dec()
343 static int ipv6_dev_ac_dec(struct net_device *dev, const struct in6_addr *addr) in ipv6_dev_ac_dec()
377 static bool ipv6_chk_acast_dev(struct net_device *dev, const struct in6_addr *addr) in ipv6_chk_acast_dev()
398 const struct in6_addr *addr) in ipv6_chk_acast_addr()
419 const struct in6_addr *addr) in ipv6_chk_acast_addr_src()
/net/netfilter/
Dxt_connlimit.c49 union nf_inet_addr addr; member
55 union nf_inet_addr addr; /* search key */ member
69 static inline unsigned int connlimit_iphash(__be32 addr) in connlimit_iphash()
76 connlimit_iphash6(const union nf_inet_addr *addr, in connlimit_iphash6()
99 same_source_net(const union nf_inet_addr *addr, in same_source_net()
121 const union nf_inet_addr *addr) in add_hlist()
203 const union nf_inet_addr *addr, const union nf_inet_addr *mask, in count_tree()
291 const union nf_inet_addr *addr, in count_them()
322 union nf_inet_addr addr; in connlimit_mt() local
Dxt_addrtype.c37 const struct in6_addr *addr, u16 mask) in match_lookup_rt6()
84 const struct in6_addr *addr, u16 mask) in match_type6()
120 __be32 addr, u_int16_t mask) in match_type()
Dnf_nat_sip.c69 const union nf_inet_addr *addr, bool delim) in sip_sprintf_addr()
82 const union nf_inet_addr *addr, u16 port) in sip_sprintf_addr_port()
94 union nf_inet_addr *addr, __be16 port) in map_addr()
133 union nf_inet_addr addr; in map_sip_addr() local
153 union nf_inet_addr addr; in nf_nat_sip() local
467 const union nf_inet_addr *addr) in nf_nat_sdp_addr()
504 const union nf_inet_addr *addr) in nf_nat_sdp_session()
/net/phonet/
Dpn_netlink.c38 void phonet_address_notify(int event, struct net_device *dev, u8 addr) in phonet_address_notify()
106 static int fill_addr(struct sk_buff *skb, struct net_device *dev, u8 addr, in fill_addr()
142 u8 addr; in getaddr_dumpit() local
275 u8 addr; in route_dumpit() local
/net/atm/
Daddr.c13 static int check_addr(const struct sockaddr_atmsvc *addr) in check_addr()
67 int atm_add_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr, in atm_add_addr()
102 int atm_del_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr, in atm_del_addr()
/net/mac80211/
Daes_cmac.c39 const u8 *addr[], const size_t *len, u8 *mac, in aes_cmac_vector()
98 const u8 *addr[3]; in ieee80211_aes_cmac() local
116 const u8 *addr[3]; in ieee80211_aes_cmac_256() local
/net/bluetooth/
D6lowpan.c38 struct in6_addr addr; member
412 static void copy_to_bdaddr(struct in6_addr *ip6_daddr, bdaddr_t *addr) in copy_to_bdaddr()
425 bdaddr_t *addr, u8 *addr_type) in convert_dest_bdaddr()
443 bdaddr_t addr, *any = BDADDR_ANY; in setup_header() local
592 bdaddr_t addr; in bt_xmit() local
681 static void set_addr(u8 *eui, u8 *addr, u8 addr_type) in set_addr()
702 static void set_dev_addr(struct net_device *netdev, bdaddr_t *addr, in set_dev_addr()
767 static void set_ip_addr_bits(u8 addr_type, u8 *addr) in set_ip_addr_bits()
1038 static int bt_6lowpan_connect(bdaddr_t *addr, u8 dst_type) in bt_6lowpan_connect()
1078 bdaddr_t *addr = BDADDR_ANY; in bt_6lowpan_listen() local
[all …]
/net/rds/
Dbind.c58 struct rds_sock *rds_find_bound(__be32 addr, __be16 port) in rds_find_bound()
76 static int rds_add_bound(struct rds_sock *rs, __be32 addr, __be16 *port) in rds_add_bound()

1234567891011