Home
last modified time | relevance | path

Searched refs:old_flags (Results 1 – 12 of 12) sorted by relevance

/net/batman-adv/
Dmulticast.c778 struct batadv_mcast_mla_flags *old_flags = &bat_priv->mcast.mla_flags; in batadv_mcast_bridge_log() local
780 if (!old_flags->bridged && new_flags->bridged) in batadv_mcast_bridge_log()
783 else if (old_flags->bridged && !new_flags->bridged) in batadv_mcast_bridge_log()
789 &old_flags->querier_ipv4, in batadv_mcast_bridge_log()
792 &old_flags->querier_ipv6, in batadv_mcast_bridge_log()
808 u8 old_flags = bat_priv->mcast.mla_flags.tvlv_flags; in batadv_mcast_flags_log() local
812 (old_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) ? 'U' : '.', in batadv_mcast_flags_log()
813 (old_flags & BATADV_MCAST_WANT_ALL_IPV4) ? '4' : '.', in batadv_mcast_flags_log()
814 (old_flags & BATADV_MCAST_WANT_ALL_IPV6) ? '6' : '.', in batadv_mcast_flags_log()
815 !(old_flags & BATADV_MCAST_WANT_NO_RTR4) ? "R4" : ". ", in batadv_mcast_flags_log()
[all …]
/net/netfilter/
Dnfnetlink_acct.c148 u32 old_flags; in nfnl_acct_fill_info() local
159 old_flags = acct->flags; in nfnl_acct_fill_info()
179 if (nla_put_be32(skb, NFACCT_FLAGS, htonl(old_flags)) || in nfnl_acct_fill_info()
/net/8021q/
Dvlan_dev.c217 u32 old_flags = vlan->flags; in vlan_dev_change_flags() local
224 vlan->flags = (old_flags & ~mask) | (flags & mask); in vlan_dev_change_flags()
226 if (netif_running(dev) && (vlan->flags ^ old_flags) & VLAN_FLAG_GVRP) { in vlan_dev_change_flags()
233 if (netif_running(dev) && (vlan->flags ^ old_flags) & VLAN_FLAG_MVRP) { in vlan_dev_change_flags()
/net/bridge/
Dbr_netlink.c873 unsigned long old_flags, changed_mask; in br_setport() local
877 old_flags = p->flags; in br_setport()
878 br_vlan_tunnel_old = (old_flags & BR_VLAN_TUNNEL) ? true : false; in br_setport()
897 changed_mask = old_flags ^ p->flags; in br_setport()
901 p->flags = old_flags; in br_setport()
Dbr_vlan.c65 u16 old_flags = v->flags; in __vlan_add_flags() local
83 return ret || !!(old_flags ^ v->flags); in __vlan_add_flags()
Dbr_multicast.c571 u8 old_flags; in br_multicast_fwd_src_handle() local
584 old_flags = sg->flags; in br_multicast_fwd_src_handle()
590 if (old_flags != sg->flags) { in br_multicast_fwd_src_handle()
/net/sched/
Dsch_hfsc.c961 int old_flags; in hfsc_change_class() local
983 old_flags = cl->cl_flags; in hfsc_change_class()
996 if (old_flags & HFSC_RSC) in hfsc_change_class()
1003 if (old_flags & HFSC_FSC) in hfsc_change_class()
Dcls_api.c3346 u32 *old_flags, unsigned int *old_in_hw_count, in tc_setup_cb_replace() argument
3373 tc_cls_offload_cnt_reset(block, tp, old_in_hw_count, old_flags); in tc_setup_cb_replace()
/net/wireless/
Dlib80211_crypt_tkip.c79 unsigned long old_flags = _priv->flags; in lib80211_tkip_set_flags() local
81 return old_flags; in lib80211_tkip_set_flags()
/net/core/
Ddev.c8585 unsigned int old_flags = dev->flags; in __dev_set_promiscuity() local
8607 if (dev->flags != old_flags) { in __dev_set_promiscuity()
8617 (old_flags & IFF_PROMISC), in __dev_set_promiscuity()
8627 __dev_notify_flags(dev, old_flags, IFF_PROMISC); in __dev_set_promiscuity()
8644 unsigned int old_flags = dev->flags; in dev_set_promiscuity() local
8650 if (dev->flags != old_flags) in dev_set_promiscuity()
8658 unsigned int old_flags = dev->flags, old_gflags = dev->gflags; in __dev_set_allmulti() local
8678 if (dev->flags ^ old_flags) { in __dev_set_allmulti()
8682 __dev_notify_flags(dev, old_flags, in __dev_set_allmulti()
8782 unsigned int old_flags = dev->flags; in __dev_change_flags() local
[all …]
Drtnetlink.c3148 unsigned int old_flags; in rtnl_configure_link() local
3151 old_flags = dev->flags; in rtnl_configure_link()
3160 __dev_notify_flags(dev, old_flags, (old_flags ^ dev->flags)); in rtnl_configure_link()
3163 __dev_notify_flags(dev, old_flags, ~0U); in rtnl_configure_link()
/net/ipv6/
Dndisc.c1031 u8 old_flags = neigh->flags; in ndisc_recv_na() local
1057 if ((old_flags & ~neigh->flags) & NTF_ROUTER) { in ndisc_recv_na()