Lines Matching refs:type
203 * Find address type as if only "dev" was present in the system. If
229 ret = res.type;
380 if (res.type != RTN_UNICAST &&
381 (res.type != RTN_LOCAL || !IN_DEV_ACCEPT_LOCAL(idev)))
389 dev_match = dev_match || (res.type == RTN_LOCAL &&
403 if (res.type == RTN_UNICAST)
459 static int put_rtax(struct nlattr *mx, int len, int type, u32 value)
464 nla->nla_type = type;
662 [RTA_DST] = { .type = NLA_U32 },
663 [RTA_SRC] = { .type = NLA_U32 },
664 [RTA_IIF] = { .type = NLA_U32 },
665 [RTA_OIF] = { .type = NLA_U32 },
666 [RTA_GATEWAY] = { .type = NLA_U32 },
667 [RTA_PRIORITY] = { .type = NLA_U32 },
668 [RTA_PREFSRC] = { .type = NLA_U32 },
669 [RTA_METRICS] = { .type = NLA_NESTED },
671 [RTA_FLOW] = { .type = NLA_U32 },
672 [RTA_ENCAP_TYPE] = { .type = NLA_U16 },
673 [RTA_ENCAP] = { .type = NLA_NESTED },
674 [RTA_UID] = { .type = NLA_U32 },
675 [RTA_MARK] = { .type = NLA_U32 },
676 [RTA_TABLE] = { .type = NLA_U32 },
677 [RTA_IP_PROTO] = { .type = NLA_U8 },
678 [RTA_SPORT] = { .type = NLA_U16 },
679 [RTA_DPORT] = { .type = NLA_U16 },
680 [RTA_NH_ID] = { .type = NLA_U32 },
766 NL_SET_ERR_MSG(extack, "Invalid route type");
1074 static void fib_magic(int cmd, int type, __be32 dst, int dst_len,
1082 .fc_type = type,
1095 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL;
1103 if (type != RTN_LOCAL)
1370 frn->type = res.type;