Searched defs:tos (Results 1 - 9 of 9) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-network.c164 int r, on = 1, tos = IPTOS_CLASS_CS6; local
170 r = setsockopt(s, IPPROTO_IP, IP_TOS, &tos, sizeof(tos));
/systemd/src/network/
H A Dnetworkd-netdev-tunnel.h49 unsigned tos; member in struct:Tunnel
H A Dnetworkd-netdev-vxlan.h37 unsigned tos; member in struct:VxLan
H A Dnetworkd-route.h38 unsigned char tos; member in struct:Route
61 int route_get(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret);
62 int route_add(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret);
63 int route_add_foreign(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret);
H A Dnetworkd-route.c119 (dst_prefix,dst_prefixlen,tos,priority,table) */
122 siphash24_compress(&route->tos, sizeof(route->tos), state);
149 if (a->tos < b->tos)
151 if (a->tos > b->tos)
180 unsigned char tos,
187 .tos = tos,
176 route_get(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument
213 route_add_internal(Link *link, Set **routes, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument
256 route_add_foreign(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument
266 route_add(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument
[all...]
H A Dnetworkd-manager.c287 unsigned char protocol, scope, tos, table; local
426 r = sd_rtnl_message_route_get_tos(message, &tos);
428 log_link_warning_errno(link, r, "rtnl: received route with invalid tos, ignoring: %m");
444 route_get(link, family, &dst, dst_prefixlen, tos, priority, table, &route);
450 r = route_add_foreign(link, family, &dst, dst_prefixlen, tos, priority, table, &route);
H A Dnetworkd-link.c2340 unsigned char prefixlen, tos, table; local
2359 r = sscanf(prefixlen_str, "%hhu/%hhu/%"SCNu32"/%hhu/"USEC_FMT, &prefixlen, &tos, &priority, &table, &lifetime);
2362 "Failed to parse destination prefix length, tos, priority, table or expiration %s",
2373 r = route_add(link, family, &route_dst, prefixlen, tos, priority, table, &route);
2883 route->dst_prefixlen, route->tos, route->priority, route->table, route->lifetime);
/systemd/src/libsystemd/sd-netlink/
H A Drtnl-message.c159 int sd_rtnl_message_route_get_tos(sd_netlink_message *m, unsigned char *tos) { argument
165 assert_return(tos, -EINVAL);
169 *tos = rtm->rtm_tos;
/systemd/src/timesync/
H A Dtimesyncd-manager.c695 static const int tos = IPTOS_LOWDELAY; local
721 (void) setsockopt(m->server_socket, IPPROTO_IP, IP_TOS, &tos, sizeof(tos));

Completed in 30 milliseconds