Lines Matching refs:set_ip_addr
556 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()
589 set_ip_addr->head.len_lw = sizeof(*set_ip_addr) >> in nfp_fl_set_ip4()
788 struct nfp_fl_set_ip4_addrs set_ip_addr; member
825 if (set_act->set_ip_addr.head.len_lw) { in nfp_fl_commit_mangle()
827 act_size = sizeof(set_act->set_ip_addr); in nfp_fl_commit_mangle()
828 memcpy(nfp_action, &set_act->set_ip_addr, act_size); in nfp_fl_commit_mangle()
909 return nfp_fl_set_ip4(act, offset, &set_act->set_ip_addr, in nfp_fl_pedit()