Home
last modified time | relevance | path

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

12345678910

/net/vmw_vsock/
Dvsock_addr.c23 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port) in vsock_addr_init()
32 int vsock_addr_validate(const struct sockaddr_vm *addr) in vsock_addr_validate()
47 bool vsock_addr_bound(const struct sockaddr_vm *addr) in vsock_addr_bound()
53 void vsock_addr_unbind(struct sockaddr_vm *addr) in vsock_addr_unbind()
59 bool vsock_addr_equals_addr(const struct sockaddr_vm *addr, in vsock_addr_equals_addr()
67 int vsock_addr_cast(const struct sockaddr *addr, in vsock_addr_cast()
Daf_vsock.c152 #define VSOCK_HASH(addr) ((addr)->svm_port % (VSOCK_HASH_SIZE - 1)) argument
153 #define vsock_bound_sockets(addr) (&vsock_bind_table[VSOCK_HASH(addr)]) argument
205 static struct sock *__vsock_find_bound_socket(struct sockaddr_vm *addr) in __vsock_find_bound_socket()
276 struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr) in vsock_find_bound_socket()
475 struct sockaddr_vm *addr) in __vsock_bind_stream()
526 struct sockaddr_vm *addr) in __vsock_bind_dgram()
531 static int __vsock_bind(struct sock *sk, struct sockaddr_vm *addr) in __vsock_bind()
718 vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in vsock_bind()
737 struct sockaddr *addr, int *addr_len, int peer) in vsock_getname()
1018 struct sockaddr *addr, int addr_len, int flags) in vsock_dgram_connect()
[all …]
/net/sctp/
Dbind_addr.c70 struct sctp_sockaddr_entry *addr; in sctp_bind_addr_copy() local
114 struct sctp_sockaddr_entry *addr; in sctp_bind_addr_dup() local
141 struct sctp_sockaddr_entry *addr, *temp; in sctp_bind_addr_clean() local
162 struct sctp_sockaddr_entry *addr; in sctp_add_bind_addr() local
196 struct sctp_sockaddr_entry *addr, *temp; in sctp_del_bind_addr() local
235 struct sctp_sockaddr_entry *addr; in sctp_bind_addrs_to_raw() local
283 union sctp_addr addr; in sctp_raw_to_bind_addrs() local
322 const union sctp_addr *addr, in sctp_bind_addr_match()
346 const union sctp_addr *addr, in sctp_bind_addr_conflict()
381 const union sctp_addr *addr) in sctp_bind_addr_state()
[all …]
Dipv6.c100 struct sctp_sockaddr_entry *addr = NULL; in sctp_inet6addr_event() local
394 struct sctp_sockaddr_entry *addr; in sctp_v6_copy_addrlist() local
422 static void sctp_v6_from_skb(union sctp_addr *addr,struct sk_buff *skb, in sctp_v6_from_skb()
444 static void sctp_v6_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v6_from_sk()
452 static void sctp_v6_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v6_to_sk_saddr()
466 static void sctp_v6_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v6_to_sk_daddr()
479 static void sctp_v6_from_addr_param(union sctp_addr *addr, in sctp_v6_from_addr_param()
493 static int sctp_v6_to_addr_param(const union sctp_addr *addr, in sctp_v6_to_addr_param()
506 static void sctp_v6_to_addr(union sctp_addr *addr, struct in6_addr *saddr, in sctp_v6_to_addr()
553 static void sctp_v6_inaddr_any(union sctp_addr *addr, __be16 port) in sctp_v6_inaddr_any()
[all …]
Dprotocol.c146 struct sctp_sockaddr_entry *addr; in sctp_v4_copy_addrlist() local
192 struct sctp_sockaddr_entry *addr; in sctp_free_local_addr_list() local
206 struct sctp_sockaddr_entry *addr; in sctp_copy_local_addr_list() local
237 static void sctp_v4_from_skb(union sctp_addr *addr, struct sk_buff *skb, in sctp_v4_from_skb()
259 static void sctp_v4_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v4_from_sk()
267 static void sctp_v4_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_saddr()
273 static void sctp_v4_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_daddr()
279 static void sctp_v4_from_addr_param(union sctp_addr *addr, in sctp_v4_from_addr_param()
291 static int sctp_v4_to_addr_param(const union sctp_addr *addr, in sctp_v4_to_addr_param()
327 static void sctp_v4_inaddr_any(union sctp_addr *addr, __be16 port) in sctp_v4_inaddr_any()
[all …]
/net/tipc/
Daddr.h43 static inline u32 tipc_zone_mask(u32 addr) in tipc_zone_mask()
48 static inline u32 tipc_cluster_mask(u32 addr) in tipc_cluster_mask()
53 static inline int in_own_cluster_exact(u32 addr) in in_own_cluster_exact()
61 static inline int in_own_node(u32 addr) in in_own_node()
69 static inline int in_own_cluster(u32 addr) in in_own_cluster()
Daddr.c48 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()
/net/netlabel/
Dnetlabel_addrlist.c61 struct netlbl_af4list *netlbl_af4list_search(__be32 addr, in netlbl_af4list_search()
85 struct netlbl_af4list *netlbl_af4list_search_exact(__be32 addr, in netlbl_af4list_search_exact()
111 struct netlbl_af6list *netlbl_af6list_search(const struct in6_addr *addr, in netlbl_af6list_search()
136 struct netlbl_af6list *netlbl_af6list_search_exact(const struct in6_addr *addr, in netlbl_af6list_search_exact()
254 struct netlbl_af4list *netlbl_af4list_remove(__be32 addr, __be32 mask, in netlbl_af4list_remove()
294 struct netlbl_af6list *netlbl_af6list_remove(const struct in6_addr *addr, in netlbl_af6list_remove()
327 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr()
361 const struct in6_addr *addr, in netlbl_af6list_audit_addr()
Dnetlabel_unlabeled.c252 const struct in_addr *addr, in netlbl_unlhsh_add_addr4()
292 const struct in6_addr *addr, in netlbl_unlhsh_add_addr6()
386 const void *addr, in netlbl_unlhsh_add()
488 const struct in_addr *addr, in netlbl_unlhsh_remove_addr4()
550 const struct in6_addr *addr, in netlbl_unlhsh_remove_addr6()
650 const void *addr, in netlbl_unlhsh_remove()
786 void **addr, in netlbl_unlabel_addrinfo_get()
902 void *addr; in netlbl_unlabel_staticadd() local
953 void *addr; in netlbl_unlabel_staticadddef() local
1003 void *addr; in netlbl_unlabel_staticremove() local
[all …]
Dnetlabel_addrlist.h49 __be32 addr; member
64 struct in6_addr addr; member
131 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr()
202 const struct in6_addr *addr, in netlbl_af6list_audit_addr()
Dnetlabel_kapi.c71 const void *addr, in netlbl_cfg_map_del()
105 const void *addr, in netlbl_cfg_unlbl_map_add()
218 const void *addr, in netlbl_cfg_unlbl_static_add()
262 const void *addr, in netlbl_cfg_unlbl_static_del()
334 const struct in_addr *addr, in netlbl_cfg_cipsov4_map_add()
752 struct sockaddr *addr, in netlbl_conn_setattr()
/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()
84 const unsigned char *addr, int addr_len, in __hw_addr_add()
115 const unsigned char *addr, int addr_len, in __hw_addr_del_ex()
129 const unsigned char *addr, int addr_len, in __hw_addr_del()
318 unsigned char addr[MAX_ADDR_LEN]; in dev_addr_init() local
352 int dev_addr_add(struct net_device *dev, const unsigned char *addr, in dev_addr_add()
377 int dev_addr_del(struct net_device *dev, const unsigned char *addr, in dev_addr_del()
465 int dev_uc_add_excl(struct net_device *dev, const unsigned char *addr) in dev_uc_add_excl()
496 int dev_uc_add(struct net_device *dev, const unsigned char *addr) in dev_uc_add()
[all …]
/net/bridge/
Dbr_fdb.c264 const unsigned char *addr, in __br_fdb_get()
285 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr) in br_fdb_test_addr()
359 const unsigned char *addr, in fdb_find()
373 const unsigned char *addr, in fdb_find_rcu()
388 const unsigned char *addr, in fdb_create()
407 const unsigned char *addr, u16 vid) in fdb_insert()
439 const unsigned char *addr, u16 vid) in br_fdb_insert()
450 const unsigned char *addr, u16 vid) in br_fdb_update()
612 static int fdb_add_entry(struct net_bridge_port *source, const __u8 *addr, in fdb_add_entry()
662 const unsigned char *addr, u16 nlh_flags, u16 vid) in __br_fdb_add()
[all …]
/net/rds/
Dbind.c45 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/netfilter/
Dxt_connlimit.c38 union nf_inet_addr addr; member
48 static inline unsigned int connlimit_iphash(__be32 addr) in connlimit_iphash()
54 connlimit_iphash6(const union nf_inet_addr *addr, in connlimit_iphash6()
76 same_source_net(const union nf_inet_addr *addr, in same_source_net()
98 const union nf_inet_addr *addr, in count_them()
181 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()
Dxt_recent.c68 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()
545 union nf_inet_addr addr = {}; in recent_mt_proc_write() local
Dnf_nat_sip.c68 const union nf_inet_addr *addr, bool delim) in sip_sprintf_addr()
81 const union nf_inet_addr *addr, u16 port) in sip_sprintf_addr_port()
93 union nf_inet_addr *addr, __be16 port) in map_addr()
132 union nf_inet_addr addr; in map_sip_addr() local
152 union nf_inet_addr addr; in nf_nat_sip() local
466 const union nf_inet_addr *addr) in nf_nat_sdp_addr()
503 const union nf_inet_addr *addr) in nf_nat_sdp_session()
Dnf_conntrack_h323_main.c225 union nf_inet_addr *addr, __be16 *port) in get_h245_addr()
268 union nf_inet_addr addr; in expect_rtp_rtcp() local
342 union nf_inet_addr addr; in expect_t120() local
650 union nf_inet_addr *addr, __be16 *port) in get_h225_addr()
688 union nf_inet_addr addr; in expect_h245() local
808 union nf_inet_addr addr; in expect_callforwarding() local
867 union nf_inet_addr addr; in process_setup() local
1254 union nf_inet_addr *addr, in find_expect()
1297 union nf_inet_addr addr; in expect_q931() local
1371 union nf_inet_addr addr; in process_gcf() local
[all …]
/net/ipv6/
Danycast.c57 int ipv6_sock_ac_join(struct sock *sk, int ifindex, const struct in6_addr *addr) in ipv6_sock_ac_join()
148 int ipv6_sock_ac_drop(struct sock *sk, int ifindex, const struct in6_addr *addr) in ipv6_sock_ac_drop()
229 int ipv6_dev_ac_inc(struct net_device *dev, const struct in6_addr *addr) in ipv6_dev_ac_inc()
301 int __ipv6_dev_ac_dec(struct inet6_dev *idev, const struct in6_addr *addr) in __ipv6_dev_ac_dec()
335 static int ipv6_dev_ac_dec(struct net_device *dev, const struct in6_addr *addr) in ipv6_dev_ac_dec()
369 static bool ipv6_chk_acast_dev(struct net_device *dev, const struct in6_addr *addr) in ipv6_chk_acast_dev()
390 const struct in6_addr *addr) in ipv6_chk_acast_addr()
/net/ieee802154/
Dnl-mac.c51 struct ieee802154_addr *addr, u8 cap) in ieee802154_nl_assoc_indic()
110 struct ieee802154_addr *addr, u8 reason) in ieee802154_nl_disassoc_indic()
316 struct ieee802154_addr addr; in ieee802154_associate_req() local
364 struct ieee802154_addr addr; in ieee802154_associate_resp() local
397 struct ieee802154_addr addr; in ieee802154_disassociate_req() local
439 struct ieee802154_addr addr; in ieee802154_start_req() local
/net/ethernet/
Deth.c281 struct sockaddr *addr = p; in eth_prepare_mac_addr_change() local
298 struct sockaddr *addr = p; in eth_commit_mac_addr_change() local
405 const unsigned char *addr, int len) in _format_mac_addr()
419 ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len) in sysfs_format_mac()
/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()
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/
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/ipv4/
Dtcp_metrics.c134 struct inetpeer_addr *addr, in tcpm_new()
192 static struct tcp_metrics_block *__tcp_get_metrics(const struct inetpeer_addr *addr, in __tcp_get_metrics()
211 struct inetpeer_addr addr; in __tcp_get_metrics_req() local
245 struct inetpeer_addr addr; in __tcp_get_metrics_tw() local
280 struct inetpeer_addr addr; in tcp_get_metrics() local
856 static int parse_nl_addr(struct genl_info *info, struct inetpeer_addr *addr, in parse_nl_addr()
883 struct inetpeer_addr addr; in tcp_metrics_nl_cmd_get() local
963 struct inetpeer_addr addr; in tcp_metrics_nl_cmd_del() local

12345678910