Lines Matching refs:set_ip_addr
571 struct nfp_fl_set_ip4_addrs *set_ip_addr, in nfp_fl_set_ip4() argument
592 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()
604 set_ip_addr->head.len_lw = sizeof(*set_ip_addr) >> in nfp_fl_set_ip4()
803 struct nfp_fl_set_ip4_addrs set_ip_addr; member
840 if (set_act->set_ip_addr.head.len_lw) { in nfp_fl_commit_mangle()
842 act_size = sizeof(set_act->set_ip_addr); in nfp_fl_commit_mangle()
843 memcpy(nfp_action, &set_act->set_ip_addr, act_size); in nfp_fl_commit_mangle()
924 return nfp_fl_set_ip4(act, offset, &set_act->set_ip_addr, in nfp_fl_pedit()