aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2025-07-08 10:41:45 +0000
committerPaolo Abeni <[email protected]>2025-07-08 10:41:45 +0000
commitd23647fd547bdfa7958a264153218e5178c5c89c (patch)
tree26ca5216cfa4c1eb04f10a41bf7242e45dad2733 /net/unix/af_unix.c
parentMerge branch 'add-broadcast_neighbor-for-no-stacking-networking-arch' (diff)
parentnet: mctp: test: Add tests for gateway routes (diff)
downloadkernel-d23647fd547bdfa7958a264153218e5178c5c89c.tar.gz
kernel-d23647fd547bdfa7958a264153218e5178c5c89c.zip
Merge branch 'net-mctp-add-support-for-gateway-routing'
Jeremy Kerr says: ==================== net: mctp: Add support for gateway routing This series adds a gateway route type for the MCTP core, allowing non-local EIDs as the match for a route. Example setup using the mctp tools: mctp route add 9 via mctpi2c0 mctp neigh add 9 dev mctpi2c0 lladdr 0x1d mctp route add 10 gw 9 - will route packets to eid 10 through mctpi2c0, using a dest lladdr of 0x1d (ie, that of the directly-attached eid 9). The core change to support this is the introduction of a struct mctp_dst, which represents the result of a route lookup. Since this involves a bit of surgery through the routing code, we add a few tests along the way. We're introducing an ABI change in the new RTM_{NEW,GET,DEL}ROUTE netlink formats, with the support for a RTA_GATEWAY attribute. Because we need a network ID specified to fully-qualify a gateway EID, the RTA_GATEWAY attribute carries the (net, eid) tuple in full: struct mctp_fq_addr { unsigned int net; mctp_eid_t eid; } Of course, any questions, comments etc are most welcome. Signed-off-by: Jeremy Kerr <[email protected]> ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions