Home
last modified time | relevance | path

Searched refs:ma (Results 1 – 4 of 4) sorted by relevance

/net/ipv6/
Dmcast.c72 static void igmp6_join_group(struct ifmcaddr6 *ma);
73 static void igmp6_leave_group(struct ifmcaddr6 *ma);
947 struct ifmcaddr6 *ma, **map; in __ipv6_dev_mc_dec() local
952 for (map = &idev->mc_list; (ma = *map) != NULL; map = &ma->next) { in __ipv6_dev_mc_dec()
953 if (ipv6_addr_equal(&ma->mca_addr, addr)) { in __ipv6_dev_mc_dec()
954 if (--ma->mca_users == 0) { in __ipv6_dev_mc_dec()
955 *map = ma->next; in __ipv6_dev_mc_dec()
958 igmp6_group_dropped(ma); in __ipv6_dev_mc_dec()
959 ip6_mc_clear_src(ma); in __ipv6_dev_mc_dec()
961 ma_put(ma); in __ipv6_dev_mc_dec()
[all …]
/net/appletalk/
Daarp.c720 struct atalk_addr sa, *ma, da; in aarp_rcv() local
814 ma = __aarp_proxy_find(dev, &sa); in aarp_rcv()
815 if (!ma) in aarp_rcv()
816 ma = &ifa->address; in aarp_rcv()
820 ma = &da; in aarp_rcv()
846 if (sa.s_node != ma->s_node) in aarp_rcv()
849 if (sa.s_net && ma->s_net && sa.s_net != ma->s_net) in aarp_rcv()
857 aarp_send_reply(dev, ma, &sa, ea->hw_src); in aarp_rcv()
/net/xfrm/
Dxfrm_user.c2385 static int copy_from_user_migrate(struct xfrm_migrate *ma, in copy_from_user_migrate() argument
2409 for (i = 0; i < num_migrate; i++, um++, ma++) { in copy_from_user_migrate()
2410 memcpy(&ma->old_daddr, &um->old_daddr, sizeof(ma->old_daddr)); in copy_from_user_migrate()
2411 memcpy(&ma->old_saddr, &um->old_saddr, sizeof(ma->old_saddr)); in copy_from_user_migrate()
2412 memcpy(&ma->new_daddr, &um->new_daddr, sizeof(ma->new_daddr)); in copy_from_user_migrate()
2413 memcpy(&ma->new_saddr, &um->new_saddr, sizeof(ma->new_saddr)); in copy_from_user_migrate()
2415 ma->proto = um->proto; in copy_from_user_migrate()
2416 ma->mode = um->mode; in copy_from_user_migrate()
2417 ma->reqid = um->reqid; in copy_from_user_migrate()
2419 ma->old_family = um->old_family; in copy_from_user_migrate()
[all …]
Dxfrm_policy.c799 u32 ma, mb, mask; in xfrm_policy_addr_delta() local
808 ma = ntohl(a->a4) & mask; in xfrm_policy_addr_delta()
810 if (ma < mb) in xfrm_policy_addr_delta()
812 else if (ma > mb) in xfrm_policy_addr_delta()
826 ma = ntohl(a->a6[pdw]) & mask; in xfrm_policy_addr_delta()
828 if (ma < mb) in xfrm_policy_addr_delta()
830 else if (ma > mb) in xfrm_policy_addr_delta()