Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/uevent/
Duevent_filtering.c84 struct sockaddr_nl sk_addr = { 0 }, rcv_addr = { 0 }; in uevent_listener() local
107 sk_addr.nl_family = AF_NETLINK; in uevent_listener()
108 sk_addr.nl_groups = __UEVENT_LISTEN_ALL; in uevent_listener()
110 sk_addr_len = sizeof(sk_addr); in uevent_listener()
111 ret = bind(sk_fd, (struct sockaddr *)&sk_addr, sk_addr_len); in uevent_listener()
117 ret = getsockname(sk_fd, (struct sockaddr *)&sk_addr, &sk_addr_len); in uevent_listener()
123 if ((size_t)sk_addr_len != sizeof(sk_addr)) { in uevent_listener()
/Linux-v5.4/net/can/j1939/
Dtransport.c447 struct j1939_addr *sk_addr, bool reverse) in j1939_session_match() argument
449 if (se_addr->type != sk_addr->type) in j1939_session_match()
454 if (se_addr->src_name != sk_addr->dst_name) in j1939_session_match()
456 } else if (se_addr->sa != sk_addr->da) { in j1939_session_match()
461 if (se_addr->dst_name != sk_addr->src_name) in j1939_session_match()
463 } else if (se_addr->da != sk_addr->sa) { in j1939_session_match()
468 if (se_addr->src_name != sk_addr->src_name) in j1939_session_match()
470 } else if (se_addr->sa != sk_addr->sa) { in j1939_session_match()
475 if (se_addr->dst_name != sk_addr->dst_name) in j1939_session_match()
477 } else if (se_addr->da != sk_addr->da) { in j1939_session_match()
/Linux-v5.4/arch/mips/include/asm/sn/sn0/
Dhubpi.h315 u64 sk_addr : 33, /* address */ member