Searched refs:set_ip_addr (Results 1 – 2 of 2) sorted by relevance
571 struct nfp_fl_set_ip4_addrs *set_ip_addr, in nfp_fl_set_ip4() argument592 set_ip_addr->ipv4_dst_mask |= mask; in nfp_fl_set_ip4()593 set_ip_addr->ipv4_dst &= ~mask; in nfp_fl_set_ip4()594 set_ip_addr->ipv4_dst |= exact & mask; in nfp_fl_set_ip4()595 set_ip_addr->head.jump_id = NFP_FL_ACTION_OPCODE_SET_IPV4_ADDRS; in nfp_fl_set_ip4()596 set_ip_addr->head.len_lw = sizeof(*set_ip_addr) >> in nfp_fl_set_ip4()600 set_ip_addr->ipv4_src_mask |= mask; in nfp_fl_set_ip4()601 set_ip_addr->ipv4_src &= ~mask; in nfp_fl_set_ip4()602 set_ip_addr->ipv4_src |= exact & mask; in nfp_fl_set_ip4()603 set_ip_addr->head.jump_id = NFP_FL_ACTION_OPCODE_SET_IPV4_ADDRS; in nfp_fl_set_ip4()[all …]
388 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() function517 set_ip_addr(skb, nh, &nh->saddr, new_addr); in set_ipv4()525 set_ip_addr(skb, nh, &nh->daddr, new_addr); in set_ipv4()