/net/vmw_vsock/ |
D | vsock_addr.c | 22 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()
|
D | af_vsock.c | 151 #define VSOCK_HASH(addr) ((addr)->svm_port % VSOCK_HASH_SIZE) argument 152 #define vsock_bound_sockets(addr) (&vsock_bind_table[VSOCK_HASH(addr)]) argument 216 static struct sock *__vsock_find_bound_socket(struct sockaddr_vm *addr) in __vsock_find_bound_socket() 287 struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr) in vsock_find_bound_socket() 486 struct sockaddr_vm *addr) in __vsock_bind_stream() 537 struct sockaddr_vm *addr) in __vsock_bind_dgram() 542 static int __vsock_bind(struct sock *sk, struct sockaddr_vm *addr) in __vsock_bind() 729 vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in vsock_bind() 748 struct sockaddr *addr, int *addr_len, int peer) in vsock_getname() 1024 struct sockaddr *addr, int addr_len, int flags) in vsock_dgram_connect() [all …]
|
/net/sctp/ |
D | bind_addr.c | 63 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 315 const union sctp_addr *addr, in sctp_bind_addr_match() 339 const union sctp_addr *addr, in sctp_bind_addr_conflict() 374 const union sctp_addr *addr) in sctp_bind_addr_state() [all …]
|
D | ipv6.c | 93 struct sctp_sockaddr_entry *addr = NULL; in sctp_inet6addr_event() local 395 struct sctp_sockaddr_entry *addr; in sctp_v6_copy_addrlist() local 423 static void sctp_v6_from_skb(union sctp_addr *addr, struct sk_buff *skb, in sctp_v6_from_skb() 445 static void sctp_v6_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v6_from_sk() 453 static void sctp_v6_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v6_to_sk_saddr() 467 static void sctp_v6_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v6_to_sk_daddr() 480 static void sctp_v6_from_addr_param(union sctp_addr *addr, in sctp_v6_from_addr_param() 494 static int sctp_v6_to_addr_param(const union sctp_addr *addr, in sctp_v6_to_addr_param() 507 static void sctp_v6_to_addr(union sctp_addr *addr, struct in6_addr *saddr, in sctp_v6_to_addr() 558 static void sctp_v6_inaddr_any(union sctp_addr *addr, __be16 port) in sctp_v6_inaddr_any() [all …]
|
D | protocol.c | 139 struct sctp_sockaddr_entry *addr; in sctp_v4_copy_addrlist() local 185 struct sctp_sockaddr_entry *addr; in sctp_free_local_addr_list() local 199 struct sctp_sockaddr_entry *addr; in sctp_copy_local_addr_list() local 230 static void sctp_v4_from_skb(union sctp_addr *addr, struct sk_buff *skb, in sctp_v4_from_skb() 252 static void sctp_v4_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v4_from_sk() 260 static void sctp_v4_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_saddr() 266 static void sctp_v4_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_daddr() 272 static void sctp_v4_from_addr_param(union sctp_addr *addr, in sctp_v4_from_addr_param() 284 static int sctp_v4_to_addr_param(const union sctp_addr *addr, in sctp_v4_to_addr_param() 320 static void sctp_v4_inaddr_any(union sctp_addr *addr, __be16 port) in sctp_v4_inaddr_any() [all …]
|
/net/tipc/ |
D | addr.h | 45 static inline u32 tipc_zone_mask(u32 addr) in tipc_zone_mask() 50 static inline u32 tipc_cluster_mask(u32 addr) in tipc_cluster_mask() 55 static inline int in_own_cluster_exact(u32 addr) in in_own_cluster_exact() 63 static inline int in_own_node(u32 addr) in in_own_node() 71 static inline int in_own_cluster(u32 addr) in in_own_cluster()
|
D | addr.c | 48 int tipc_addr_domain_valid(u32 addr) in tipc_addr_domain_valid() 68 int tipc_addr_node_valid(u32 addr) in tipc_addr_node_valid() 73 int tipc_in_scope(u32 domain, u32 addr) in tipc_in_scope() 98 char *tipc_addr_string_fill(char *string, u32 addr) in tipc_addr_string_fill()
|
D | eth_media.c | 43 static int tipc_eth_addr2str(struct tipc_media_addr *addr, in tipc_eth_addr2str() 54 static int tipc_eth_addr2msg(char *msg, struct tipc_media_addr *addr) in tipc_eth_addr2msg() 64 struct tipc_media_addr *addr, in tipc_eth_raw2addr() 78 struct tipc_media_addr *addr, in tipc_eth_msg2addr()
|
D | ib_media.c | 58 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()
|
D | node.c | 67 static unsigned int tipc_hashfn(u32 addr) in tipc_hashfn() 75 struct tipc_node *tipc_node_find(u32 addr) in tipc_node_find() 93 struct tipc_node *tipc_node_create(u32 addr) in tipc_node_create() 531 int tipc_node_get_linkname(u32 bearer_id, u32 addr, char *linkname, size_t len) in tipc_node_get_linkname() 554 u32 addr = 0; in tipc_node_unlock() local
|
/net/core/ |
D | dev_addr_lists.c | 24 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/ |
D | netlabel_addrlist.c | 60 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()
|
D | netlabel_unlabeled.c | 251 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() 900 void *addr; in netlbl_unlabel_staticadd() local 951 void *addr; in netlbl_unlabel_staticadddef() local 1001 void *addr; in netlbl_unlabel_staticremove() local [all …]
|
D | netlabel_addrlist.h | 48 __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()
|
D | netlabel_kapi.c | 70 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() 880 struct sockaddr *addr, in netlbl_conn_setattr()
|
/net/bridge/ |
D | br_fdb.c | 93 static void fdb_add_hw(struct net_bridge *br, const unsigned char *addr) in fdb_add_hw() 121 static void fdb_del_hw(struct net_bridge *br, const unsigned char *addr) in fdb_del_hw() 148 const unsigned char *addr = f->addr.addr; in fdb_delete_local() local 175 const unsigned char *addr, u16 vid) in br_fdb_find_delete_local() 347 const unsigned char *addr, in __br_fdb_get() 368 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr) in br_fdb_test_addr() 442 const unsigned char *addr, in fdb_find() 456 const unsigned char *addr, in fdb_find_rcu() 471 const unsigned char *addr, in fdb_create() 491 const unsigned char *addr, u16 vid) in fdb_insert() [all …]
|
/net/ipv6/ |
D | anycast.c | 53 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() 221 const struct in6_addr *addr) in aca_alloc() 245 int __ipv6_dev_ac_inc(struct inet6_dev *idev, const struct in6_addr *addr) in __ipv6_dev_ac_inc() 302 int __ipv6_dev_ac_dec(struct inet6_dev *idev, const struct in6_addr *addr) in __ipv6_dev_ac_dec() 338 static int ipv6_dev_ac_dec(struct net_device *dev, const struct in6_addr *addr) in ipv6_dev_ac_dec() 372 static bool ipv6_chk_acast_dev(struct net_device *dev, const struct in6_addr *addr) in ipv6_chk_acast_dev() 393 const struct in6_addr *addr) in ipv6_chk_acast_addr() 414 const struct in6_addr *addr) in ipv6_chk_acast_addr_src()
|
/net/netfilter/ |
D | xt_connlimit.c | 49 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() 321 union nf_inet_addr addr; in connlimit_mt() local
|
D | xt_addrtype.c | 37 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()
|
D | xt_recent.c | 68 union nf_inet_addr addr; member 109 static inline unsigned int recent_entry_hash4(const union nf_inet_addr *addr) in recent_entry_hash4() 115 static inline unsigned int recent_entry_hash6(const union nf_inet_addr *addr) in recent_entry_hash6() 170 recent_entry_init(struct recent_table *t, const union nf_inet_addr *addr, in recent_entry_init() 236 union nf_inet_addr addr = {}, addr_mask; in recent_mt() local 314 static void recent_table_free(void *addr) in recent_table_free() 542 union nf_inet_addr addr = {}; in recent_mt_proc_write() local
|
D | nf_nat_sip.c | 69 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/rds/ |
D | bind.c | 45 static struct hlist_head *hash_to_bucket(__be32 addr, __be16 port) in hash_to_bucket() 51 static struct rds_sock *rds_bind_lookup(__be32 addr, __be16 port, in rds_bind_lookup() 93 struct rds_sock *rds_find_bound(__be32 addr, __be16 port) in rds_find_bound() 110 static int rds_add_bound(struct rds_sock *rs, __be32 addr, __be16 *port) in rds_add_bound()
|
/net/phonet/ |
D | pn_netlink.c | 38 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() 141 u8 addr; in getaddr_dumpit() local 273 u8 addr, addr_idx = 0, addr_start_idx = cb->args[0]; in route_dumpit() local
|
/net/atm/ |
D | addr.c | 13 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/bluetooth/ |
D | 6lowpan.c | 41 struct in6_addr addr; member 404 static void copy_to_bdaddr(struct in6_addr *ip6_daddr, bdaddr_t *addr) in copy_to_bdaddr() 417 bdaddr_t *addr, u8 *addr_type) in convert_dest_bdaddr() 435 bdaddr_t addr, *any = BDADDR_ANY; in setup_header() local 592 bdaddr_t addr; in bt_xmit() local 667 static void set_addr(u8 *eui, u8 *addr, u8 addr_type) in set_addr() 688 static void set_dev_addr(struct net_device *netdev, bdaddr_t *addr, in set_dev_addr() 770 static void set_ip_addr_bits(u8 addr_type, u8 *addr) in set_ip_addr_bits() 1050 static int bt_6lowpan_connect(bdaddr_t *addr, u8 dst_type) in bt_6lowpan_connect() 1088 bdaddr_t *addr = BDADDR_ANY; in bt_6lowpan_listen() local [all …]
|