Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-message-rtnl.c187 int sd_rtnl_message_route_get_tos(sd_netlink_message *m, uint8_t *tos) { in sd_rtnl_message_route_get_tos() argument
193 assert_return(tos, -EINVAL); in sd_rtnl_message_route_get_tos()
197 *tos = rtm->rtm_tos; in sd_rtnl_message_route_get_tos()
880 int sd_rtnl_message_routing_policy_rule_set_tos(sd_netlink_message *m, uint8_t tos) { in sd_rtnl_message_routing_policy_rule_set_tos() argument
889 frh->tos = tos; in sd_rtnl_message_routing_policy_rule_set_tos()
894 int sd_rtnl_message_routing_policy_rule_get_tos(sd_netlink_message *m, uint8_t *tos) { in sd_rtnl_message_routing_policy_rule_get_tos() argument
903 *tos = frh->tos; in sd_rtnl_message_routing_policy_rule_get_tos()
/systemd-251/src/libsystemd-network/
Ddhcp-packet.c107 packet->ip.tos = ip_service_type; in dhcp_packet_append_ip_headers()
109 packet->ip.tos = IPTOS_CLASS_CS6; in dhcp_packet_append_ip_headers()
/systemd-251/src/network/
Dnetworkd-routing-policy-rule.c172 siphash24_compress(&rule->tos, sizeof(rule->tos), state); in routing_policy_rule_hash_func()
227 r = CMP(a->tos, b->tos); in routing_policy_rule_compare_func()
473 if (rule->tos > 0) { in routing_policy_rule_set_netlink_message()
474 r = sd_rtnl_message_routing_policy_rule_set_tos(m, rule->tos); in routing_policy_rule_set_netlink_message()
980 r = sd_rtnl_message_routing_policy_rule_get_tos(message, &tmp->tos); in manager_rtnl_process_rule()
1170 r = safe_atou8(rvalue, &n->tos); in config_parse_routing_policy_rule_tos()
Dnetworkd-routing-policy-rule.h26 uint8_t tos; member
Dnetworkd-route.h46 unsigned char tos; member
Dnetworkd-dhcp4.c1691 int *tos = data; in config_parse_dhcp_ip_service_type() local
1699 *tos = -1; /* use sd_dhcp_client's default (currently, CS6). */ in config_parse_dhcp_ip_service_type()
1701 *tos = 0; in config_parse_dhcp_ip_service_type()
1703 *tos = IPTOS_CLASS_CS4; in config_parse_dhcp_ip_service_type()
1705 *tos = IPTOS_CLASS_CS6; in config_parse_dhcp_ip_service_type()
Dnetworkctl.c260 uint8_t tos; member
309 uint8_t tos; member
440 (void) sd_netlink_message_read_u8(m, IFLA_VXLAN_TOS, &info->vxlan_info.tos); in decode_netdev()
458 (void) sd_netlink_message_read_u8(m, IFLA_GENEVE_TOS, &info->tos); in decode_netdev()
1913 if (info->vxlan_info.tos > 1) { in link_status_one()
1917 TABLE_UINT8, info->vxlan_info.tos); in link_status_one()
2009 if (info->tos > 0) { in link_status_one()
2013 TABLE_UINT8, info->tos); in link_status_one()
Dnetworkd-route.c135 siphash24_compress(&route->tos, sizeof(route->tos), state); in route_hash_func()
199 r = CMP(a->tos, b->tos); in route_compare_func()
1768 r = sd_rtnl_message_route_get_tos(message, &tmp->tos); in manager_rtnl_process_route()
Dnetworkd-json.c393 JSON_BUILD_PAIR_UNSIGNED("TOS", rule->tos), in routing_policy_rule_build_json()
/systemd-251/src/systemd/
Dsd-netlink.h167 int sd_rtnl_message_route_get_tos(sd_netlink_message *m, unsigned char *tos);
192 int sd_rtnl_message_routing_policy_rule_set_tos(sd_netlink_message *m, uint8_t tos);
193 int sd_rtnl_message_routing_policy_rule_get_tos(sd_netlink_message *m, uint8_t *tos);
/systemd-251/src/network/netdev/
Dgeneve.h28 uint8_t tos; member
Dvxlan.h39 unsigned tos; member
Dtunnel.h38 unsigned tos; member
Dvxlan.c100 if (v->tos != 0) { in netdev_vxlan_fill_message_create()
101 r = sd_netlink_message_append_u8(m, IFLA_VXLAN_TOS, v->tos); in netdev_vxlan_fill_message_create()
Dnetdev-gperf.gperf74 … config_parse_unsigned, 0, offsetof(Tunnel, tos)
124 … config_parse_unsigned, 0, offsetof(VxLan, tos)
151 … config_parse_uint8, 0, offsetof(Geneve, tos)
Dgeneve.c64 r = sd_netlink_message_append_u8(m, IFLA_GENEVE_TOS, v->tos); in netdev_geneve_fill_message_create()
Dtunnel.c359 r = sd_netlink_message_append_u8(m, IFLA_GRE_TOS, t->tos); in netdev_gre_erspan_fill_message_create()
/systemd-251/src/basic/linux/
Dfib_rules.h23 __u8 tos; member
/systemd-251/src/shared/linux/
Dethtool.h898 __u8 tos; member
914 __u8 tos; member
932 __u8 tos; member
Dbpf.h6146 __u8 tos; /* AF_INET */ member
/systemd-251/po/
Dlt.po346 "išreikštos užklausos."