Home
last modified time | relevance | path

Searched refs:sk_addr (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/uevent/
Duevent_filtering.c83 struct sockaddr_nl sk_addr = { 0 }, rcv_addr = { 0 }; in uevent_listener() local
106 sk_addr.nl_family = AF_NETLINK; in uevent_listener()
107 sk_addr.nl_groups = __UEVENT_LISTEN_ALL; in uevent_listener()
109 sk_addr_len = sizeof(sk_addr); in uevent_listener()
110 ret = bind(sk_fd, (struct sockaddr *)&sk_addr, sk_addr_len); in uevent_listener()
116 ret = getsockname(sk_fd, (struct sockaddr *)&sk_addr, &sk_addr_len); in uevent_listener()
122 if ((size_t)sk_addr_len != sizeof(sk_addr)) { in uevent_listener()
/linux-6.1.9/net/can/j1939/
Dtransport.c474 struct j1939_addr *sk_addr, bool reverse) in j1939_session_match() argument
476 if (se_addr->type != sk_addr->type) in j1939_session_match()
481 if (se_addr->src_name != sk_addr->dst_name) in j1939_session_match()
483 } else if (se_addr->sa != sk_addr->da) { in j1939_session_match()
488 if (se_addr->dst_name != sk_addr->src_name) in j1939_session_match()
490 } else if (se_addr->da != sk_addr->sa) { in j1939_session_match()
495 if (se_addr->src_name != sk_addr->src_name) in j1939_session_match()
497 } else if (se_addr->sa != sk_addr->sa) { in j1939_session_match()
502 if (se_addr->dst_name != sk_addr->dst_name) in j1939_session_match()
504 } else if (se_addr->da != sk_addr->da) { in j1939_session_match()
/linux-6.1.9/arch/mips/include/asm/sn/sn0/
Dhubpi.h315 u64 sk_addr : 33, /* address */ member