Home
last modified time | relevance | path

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

/samples/bpf/
Dxdp_router_ipv4_user.c521 struct sockaddr_nl la, lr; in monitor_route() local
536 memset(&lr, 0, sizeof(lr)); in monitor_route()
537 lr.nl_family = AF_NETLINK; in monitor_route()
538 lr.nl_groups = RTMGRP_IPV6_ROUTE | RTMGRP_IPV4_ROUTE | RTMGRP_NOTIFY; in monitor_route()
539 if (bind(sock, (struct sockaddr *)&lr, sizeof(lr)) < 0) { in monitor_route()
586 nll = recv_msg(lr, sock); in monitor_route()