Searched refs:in_dev (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/include/linux/ |
D | inetdevice.h | 57 static inline int ipv4_devconf_get(struct in_device *in_dev, int index) in ipv4_devconf_get() argument 60 return in_dev->cnf.data[index]; in ipv4_devconf_get() 63 static inline void ipv4_devconf_set(struct in_device *in_dev, int index, in ipv4_devconf_set() argument 67 set_bit(index, in_dev->cnf.state); in ipv4_devconf_set() 68 in_dev->cnf.data[index] = val; in ipv4_devconf_set() 71 static inline void ipv4_devconf_setall(struct in_device *in_dev) in ipv4_devconf_setall() argument 73 bitmap_fill(in_dev->cnf.state, IPV4_DEVCONF_MAX); in ipv4_devconf_setall() 76 #define IN_DEV_CONF_GET(in_dev, attr) \ argument 77 ipv4_devconf_get((in_dev), IPV4_DEVCONF_ ## attr) 78 #define IN_DEV_CONF_SET(in_dev, attr, val) \ argument [all …]
|
D | igmp.h | 131 extern void ip_mc_dec_group(struct in_device *in_dev, __be32 addr); 132 extern void ip_mc_inc_group(struct in_device *in_dev, __be32 addr);
|
/linux-4.19.296/drivers/isdn/hysdn/ |
D | hysdn_net.c | 62 struct in_device *in_dev; in net_open() local 72 if ((in_dev = dev->ip_ptr) != NULL) { in net_open() 73 struct in_ifaddr *ifa = in_dev->ifa_list; in net_open()
|
/linux-4.19.296/drivers/parisc/ |
D | led.c | 372 struct in_device *in_dev = __in_dev_get_rcu(dev); in led_get_net_activity() 373 if (!in_dev || !in_dev->ifa_list) in led_get_net_activity() 375 if (ipv4_is_loopback(in_dev->ifa_list->ifa_local)) in led_get_net_activity()
|
/linux-4.19.296/include/net/ |
D | bonding.h | 585 struct in_device *in_dev; in bond_confirm_addr() local 589 in_dev = __in_dev_get_rcu(dev); in bond_confirm_addr() 591 if (in_dev) in bond_confirm_addr() 592 addr = inet_confirm_addr(dev_net(dev), in_dev, dst, local, in bond_confirm_addr()
|
D | route.h | 179 struct in_device *in_dev, u32 *itag);
|
/linux-4.19.296/drivers/s390/net/ |
D | qeth_l3_main.c | 1143 struct in_device *in_dev; in qeth_l3_add_vlan_mc() local 1159 in_dev = __in_dev_get_rcu(netdev); in qeth_l3_add_vlan_mc() 1160 if (!in_dev) in qeth_l3_add_vlan_mc() 1162 qeth_l3_add_mc_to_hash(card, in_dev); in qeth_l3_add_vlan_mc() 1227 struct inet6_dev *in_dev; in qeth_l3_add_vlan_mc6() local 1243 in_dev = in6_dev_get(netdev); in qeth_l3_add_vlan_mc6() 1244 if (!in_dev) in qeth_l3_add_vlan_mc6() 1246 read_lock_bh(&in_dev->lock); in qeth_l3_add_vlan_mc6() 1247 qeth_l3_add_mc6_to_hash(card, in_dev); in qeth_l3_add_vlan_mc6() 1248 read_unlock_bh(&in_dev->lock); in qeth_l3_add_vlan_mc6() [all …]
|
/linux-4.19.296/drivers/isdn/i4l/ |
D | isdn_net.c | 234 struct in_device *in_dev; in isdn_net_open() local 245 if ((in_dev = dev->ip_ptr) != NULL) { in isdn_net_open() 249 struct in_ifaddr *ifa = in_dev->ifa_list; in isdn_net_open() 1635 struct in_device *in_dev = NULL; in isdn_net_ciscohdlck_slarp_send_reply() local 1639 if ((in_dev = lp->netdev->dev->ip_ptr) != NULL) { in isdn_net_ciscohdlck_slarp_send_reply() 1641 struct in_ifaddr *ifa = in_dev->ifa_list; in isdn_net_ciscohdlck_slarp_send_reply()
|