Searched refs:set_ip_addr (Results 1 – 2 of 2) sorted by relevance
524 struct nfp_fl_set_ip4_addrs *set_ip_addr, in nfp_fl_set_ip4() argument545 set_ip_addr->ipv4_dst_mask |= mask; in nfp_fl_set_ip4()546 set_ip_addr->ipv4_dst &= ~mask; in nfp_fl_set_ip4()547 set_ip_addr->ipv4_dst |= exact & mask; in nfp_fl_set_ip4()548 set_ip_addr->head.jump_id = NFP_FL_ACTION_OPCODE_SET_IPV4_ADDRS; in nfp_fl_set_ip4()549 set_ip_addr->head.len_lw = sizeof(*set_ip_addr) >> in nfp_fl_set_ip4()553 set_ip_addr->ipv4_src_mask |= mask; in nfp_fl_set_ip4()554 set_ip_addr->ipv4_src &= ~mask; in nfp_fl_set_ip4()555 set_ip_addr->ipv4_src |= exact & mask; in nfp_fl_set_ip4()556 set_ip_addr->head.jump_id = NFP_FL_ACTION_OPCODE_SET_IPV4_ADDRS; in nfp_fl_set_ip4()[all …]
369 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() function465 set_ip_addr(skb, nh, &nh->saddr, new_addr); in set_ipv4()473 set_ip_addr(skb, nh, &nh->daddr, new_addr); in set_ipv4()