Lines Matching refs:frh
861 struct fib_rule_hdr *frh; in sd_rtnl_message_new_routing_policy_rule() local
874 frh = NLMSG_DATA((*ret)->hdr); in sd_rtnl_message_new_routing_policy_rule()
875 frh->family = ifal_family; in sd_rtnl_message_new_routing_policy_rule()
881 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_set_tos() local
887 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_tos()
889 frh->tos = tos; in sd_rtnl_message_routing_policy_rule_set_tos()
895 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_get_tos() local
901 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_tos()
903 *tos = frh->tos; in sd_rtnl_message_routing_policy_rule_get_tos()
909 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_set_table() local
915 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_table()
917 frh->table = table; in sd_rtnl_message_routing_policy_rule_set_table()
923 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_get_table() local
929 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_table()
931 *table = frh->table; in sd_rtnl_message_routing_policy_rule_get_table()
937 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_set_flags() local
943 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_flags()
944 frh->flags = flags; in sd_rtnl_message_routing_policy_rule_set_flags()
950 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_get_flags() local
956 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_flags()
957 *flags = frh->flags; in sd_rtnl_message_routing_policy_rule_get_flags()
963 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_set_fib_type() local
969 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_fib_type()
971 frh->action = type; in sd_rtnl_message_routing_policy_rule_set_fib_type()
977 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_get_fib_type() local
983 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_fib_type()
985 *type = frh->action; in sd_rtnl_message_routing_policy_rule_get_fib_type()
991 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_set_fib_dst_prefixlen() local
997 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_fib_dst_prefixlen()
999 frh->dst_len = len; in sd_rtnl_message_routing_policy_rule_set_fib_dst_prefixlen()
1005 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_get_fib_dst_prefixlen() local
1011 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_fib_dst_prefixlen()
1013 *len = frh->dst_len; in sd_rtnl_message_routing_policy_rule_get_fib_dst_prefixlen()
1019 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_set_fib_src_prefixlen() local
1025 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_set_fib_src_prefixlen()
1027 frh->src_len = len; in sd_rtnl_message_routing_policy_rule_set_fib_src_prefixlen()
1033 struct fib_rule_hdr *frh; in sd_rtnl_message_routing_policy_rule_get_fib_src_prefixlen() local
1039 frh = NLMSG_DATA(m->hdr); in sd_rtnl_message_routing_policy_rule_get_fib_src_prefixlen()
1041 *len = frh->src_len; in sd_rtnl_message_routing_policy_rule_get_fib_src_prefixlen()