Searched refs:set_ip_addr (Results 1 – 2 of 2) sorted by relevance
556 struct nfp_fl_set_ip4_addrs *set_ip_addr, in nfp_fl_set_ip4() argument577 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 …]
370 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() function499 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()