route.c (0871d5a66da5c41151e0896a90298b163e42f2e0) route.c (3b45a4106f146c336cbcaccb9d8d0fa0e5c3dc1d)
1/*
2 * Linux INET6 implementation
3 * FIB front-end.
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * This program is free software; you can redistribute it and/or

--- 2877 unchanged lines hidden (view full) ---

2886 [RTA_PRIORITY] = { .type = NLA_U32 },
2887 [RTA_METRICS] = { .type = NLA_NESTED },
2888 [RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
2889 [RTA_PREF] = { .type = NLA_U8 },
2890 [RTA_ENCAP_TYPE] = { .type = NLA_U16 },
2891 [RTA_ENCAP] = { .type = NLA_NESTED },
2892 [RTA_EXPIRES] = { .type = NLA_U32 },
2893 [RTA_UID] = { .type = NLA_U32 },
1/*
2 * Linux INET6 implementation
3 * FIB front-end.
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * This program is free software; you can redistribute it and/or

--- 2877 unchanged lines hidden (view full) ---

2886 [RTA_PRIORITY] = { .type = NLA_U32 },
2887 [RTA_METRICS] = { .type = NLA_NESTED },
2888 [RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
2889 [RTA_PREF] = { .type = NLA_U8 },
2890 [RTA_ENCAP_TYPE] = { .type = NLA_U16 },
2891 [RTA_ENCAP] = { .type = NLA_NESTED },
2892 [RTA_EXPIRES] = { .type = NLA_U32 },
2893 [RTA_UID] = { .type = NLA_U32 },
2894 [RTA_MARK] = { .type = NLA_U32 },
2894};
2895
2896static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh,
2897 struct fib6_config *cfg)
2898{
2899 struct rtmsg *rtm;
2900 struct nlattr *tb[RTA_MAX+1];
2901 unsigned int pref;

--- 1209 unchanged lines hidden ---
2895};
2896
2897static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh,
2898 struct fib6_config *cfg)
2899{
2900 struct rtmsg *rtm;
2901 struct nlattr *tb[RTA_MAX+1];
2902 unsigned int pref;

--- 1209 unchanged lines hidden ---