Lines Matching refs:rtattr
58 static void print_encap_mpls(FILE *fp, struct rtattr *encap) in print_encap_mpls()
60 struct rtattr *tb[MPLS_IPTUNNEL_MAX+1]; in print_encap_mpls()
72 static void print_encap_ip(FILE *fp, struct rtattr *encap) in print_encap_ip()
74 struct rtattr *tb[LWTUNNEL_IP_MAX+1]; in print_encap_ip()
103 static void print_encap_ila(FILE *fp, struct rtattr *encap) in print_encap_ila()
105 struct rtattr *tb[ILA_ATTR_MAX+1]; in print_encap_ila()
118 static void print_encap_ip6(FILE *fp, struct rtattr *encap) in print_encap_ip6()
120 struct rtattr *tb[LWTUNNEL_IP6_MAX+1]; in print_encap_ip6()
149 void lwt_print_encap(FILE *fp, struct rtattr *encap_type, in lwt_print_encap()
150 struct rtattr *encap) in lwt_print_encap()
177 static int parse_encap_mpls(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in parse_encap_mpls()
197 static int parse_encap_ip(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in parse_encap_ip()
250 static int parse_encap_ila(struct rtattr *rta, size_t len, in parse_encap_ila()
270 static int parse_encap_ip6(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in parse_encap_ip6()
323 int lwt_parse_encap(struct rtattr *rta, size_t len, int *argcp, char ***argvp) in lwt_parse_encap()
325 struct rtattr *nest; in lwt_parse_encap()