Searched defs:nd (Results 1 - 3 of 3) sorted by relevance
/systemd/src/network/ |
H A D | networkd-ndisc.c | 51 static void ndisc_prefix_autonomous_handler(sd_ndisc *nd, const struct in6_addr *prefix, unsigned prefixlen, argument 58 assert(nd); 104 static void ndisc_prefix_onlink_handler(sd_ndisc *nd, const struct in6_addr *prefix, unsigned prefixlen, unsigned lifetime, void *userdata) { argument 110 assert(nd); 142 static void ndisc_router_handler(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) { argument 192 static void ndisc_handler(sd_ndisc *nd, int event, void *userdata) { argument
|
/systemd/src/libsystemd-network/ |
H A D | test-ndisc-rs.c | 86 static void test_rs_done(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) { argument 98 assert_se(nd); 111 assert_se(sd_ndisc_get_mtu(nd, &mtu) == -ENOMSG); 118 sd_ndisc *nd; local 128 assert_se(sd_ndisc_new(&nd) >= 0); 129 assert_se(nd); 131 assert_se(sd_ndisc_attach_event(nd, e, 0) >= 0); 133 assert_se(sd_ndisc_set_index(nd, 42) >= 0); 134 assert_se(sd_ndisc_set_mac(nd, &mac_addr) >= 0); 135 assert_se(sd_ndisc_set_callback(nd, test_rs_don [all...] |
H A D | sd-ndisc.c | 63 sd_ndisc *nd; member in struct:NDiscPrefix 106 if (prefix->nd) 107 LIST_REMOVE(prefixes, prefix->nd->prefixes, prefix); 114 static int ndisc_prefix_new(sd_ndisc *nd, NDiscPrefix **ret) { argument 125 prefix->nd = nd; 131 int sd_ndisc_set_callback(sd_ndisc *nd, argument 137 assert(nd); 139 nd->router_callback = router_callback; 140 nd 148 sd_ndisc_set_index(sd_ndisc *nd, int interface_index) argument 157 sd_ndisc_set_mac(sd_ndisc *nd, const struct ether_addr *mac_addr) argument 169 sd_ndisc_attach_event(sd_ndisc *nd, sd_event *event, int priority) argument 188 sd_ndisc_detach_event(sd_ndisc *nd) argument 196 sd_ndisc_get_event(sd_ndisc *nd) argument 202 sd_ndisc_ref(sd_ndisc *nd) argument 213 ndisc_init(sd_ndisc *nd) argument 223 sd_ndisc_unref(sd_ndisc *nd) argument 268 sd_ndisc_get_mtu(sd_ndisc *nd, uint32_t *mtu) argument 300 ndisc_prefix_match(sd_ndisc *nd, const struct in6_addr *addr, uint8_t addr_len, NDiscPrefix **result) argument 327 ndisc_prefix_update(sd_ndisc *nd, ssize_t len, const struct nd_opt_prefix_info *prefix_opt) argument 414 ndisc_ra_parse(sd_ndisc *nd, struct nd_router_advert *ra, ssize_t len) argument 476 sd_ndisc *nd = userdata; local 602 sd_ndisc *nd = userdata; local 652 sd_ndisc_stop(sd_ndisc *nd) argument 668 sd_ndisc_router_discovery_start(sd_ndisc *nd) argument [all...] |
Completed in 12 milliseconds