Home
last modified time | relevance | path

Searched refs:set_ip_addr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Daction.c556 struct nfp_fl_set_ip4_addrs *set_ip_addr, in nfp_fl_set_ip4() argument
577 set_ip_addr->ipv4_dst_mask |= mask; in nfp_fl_set_ip4()
578 set_ip_addr->ipv4_dst &= ~mask; in nfp_fl_set_ip4()
579 set_ip_addr->ipv4_dst |= exact & mask; in nfp_fl_set_ip4()
580 set_ip_addr->head.jump_id = NFP_FL_ACTION_OPCODE_SET_IPV4_ADDRS; in nfp_fl_set_ip4()
581 set_ip_addr->head.len_lw = sizeof(*set_ip_addr) >> in nfp_fl_set_ip4()
585 set_ip_addr->ipv4_src_mask |= mask; in nfp_fl_set_ip4()
586 set_ip_addr->ipv4_src &= ~mask; in nfp_fl_set_ip4()
587 set_ip_addr->ipv4_src |= exact & mask; in nfp_fl_set_ip4()
588 set_ip_addr->head.jump_id = NFP_FL_ACTION_OPCODE_SET_IPV4_ADDRS; in nfp_fl_set_ip4()
[all …]
/linux-6.1.9/net/openvswitch/
Dactions.c370 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() function
499 set_ip_addr(skb, nh, &nh->saddr, new_addr); in set_ipv4()
507 set_ip_addr(skb, nh, &nh->daddr, new_addr); in set_ipv4()