netlink.c (fd3cf2ad519f73c2f7a46460ebedf32ad246520c) netlink.c (27c21416727af73df45051acb05331c0f10e50f6)
1/*
2 * net/tipc/netlink.c: TIPC configuration handling
3 *
4 * Copyright (c) 2005-2006, 2014, Ericsson AB
5 * Copyright (c) 2005-2007, Wind River Systems
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

175 .cmd = TIPC_NL_NODE_GET,
176 .dumpit = tipc_nl_node_dump,
177 .policy = tipc_nl_policy,
178 },
179 {
180 .cmd = TIPC_NL_NET_GET,
181 .dumpit = tipc_nl_net_dump,
182 .policy = tipc_nl_policy,
1/*
2 * net/tipc/netlink.c: TIPC configuration handling
3 *
4 * Copyright (c) 2005-2006, 2014, Ericsson AB
5 * Copyright (c) 2005-2007, Wind River Systems
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

175 .cmd = TIPC_NL_NODE_GET,
176 .dumpit = tipc_nl_node_dump,
177 .policy = tipc_nl_policy,
178 },
179 {
180 .cmd = TIPC_NL_NET_GET,
181 .dumpit = tipc_nl_net_dump,
182 .policy = tipc_nl_policy,
183 },
184 {
185 .cmd = TIPC_NL_NET_SET,
186 .doit = tipc_nl_net_set,
187 .policy = tipc_nl_policy,
183 }
184};
185
186int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr)
187{
188 u32 maxattr = tipc_genl_v2_family.maxattr;
189
190 *attr = tipc_genl_v2_family.attrbuf;

--- 30 unchanged lines hidden ---
188 }
189};
190
191int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr)
192{
193 u32 maxattr = tipc_genl_v2_family.maxattr;
194
195 *attr = tipc_genl_v2_family.attrbuf;

--- 30 unchanged lines hidden ---