Searched defs:pref (Results 1 - 4 of 4) sorted by relevance

/systemd/src/network/
H A Dnetworkd-ndisc.c142 static void ndisc_router_handler(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) { argument
178 route->pref = pref;
H A Dnetworkd-route.h41 unsigned char pref; member in struct:Route
/systemd/src/libsystemd-network/
H A Dtest-ndisc-rs.c86 static void test_rs_done(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) { argument
H A Dsd-ndisc.c495 int r, pref, stateful, buflen = 0; local
571 pref = (ra->nd_ra_flags_reserved & ND_RA_FLAG_PREF) >> 3;
573 switch (pref) {
578 pref = ND_RA_FLAG_PREF_MEDIUM;
586 pref == ND_RA_FLAG_PREF_HIGH ? "high" : pref == ND_RA_FLAG_PREF_LOW ? "low" : "medium",
596 nd->router_callback(nd, stateful, gw, lifetime, pref, nd->userdata);

Completed in 772 milliseconds