Lines Matching refs:v4
1193 struct nss_ipv4_create *v4;
1195 v4 = &t->ip_rule.v4;
1196 v4->from_mtu = v4->to_mtu = mtu;
1197 nss_status = nss_capwapmgr_configure_ipv4(v4, NSS_IPV4_RULE_UPDATE_FLAG_CHANGE_MTU);
1199 v4->from_mtu = v4->to_mtu = ntohl(t->capwap_rule.encap.path_mtu);
1372 struct nss_ipv4_create *v4, struct nss_ipv6_create *v6, struct nss_capwap_rule_msg *capwap_rule)
1381 if (!v4 && !v6) {
1423 if (v4) {
1424 if ((v4->out_vlan_tag[0] & 0xFFF) != 0xFFF) {
1428 if (v4->flow_pppoe_session_id) {
1450 if (v4) {
1451 capwap_rule->encap.src_port = htonl(v4->dest_port);
1452 capwap_rule->encap.src_ip.ip.ipv4 = htonl(v4->dest_ip);
1454 capwap_rule->encap.dest_port = htonl(v4->src_port);
1455 capwap_rule->encap.dest_ip.ip.ipv4 = htonl(v4->src_ip);
1479 if (v4) {
1480 v4->dest_interface_num = if_num;
1481 nss_status = nss_capwapmgr_configure_ipv4(v4, 0);
1502 if (v4) {
1503 memcpy(&t->ip_rule.v4, v4, sizeof (struct nss_ipv4_create));
1590 struct nss_ipv4_destroy v4;
1648 memset(&v4, 0, sizeof (struct nss_ipv4_destroy));
1649 v4.protocol = IPPROTO_UDP;
1650 v4.src_ip = t->ip_rule.v4.src_ip;
1651 v4.dest_ip = t->ip_rule.v4.dest_ip;
1652 v4.src_port = t->ip_rule.v4.src_port;
1653 v4.dest_port = t->ip_rule.v4.dest_port;
1654 nss_status = nss_capwapmgr_unconfigure_ipv4_rule(&v4);
1694 nss_capwapmgr_configure_ipv4(&t->ip_rule.v4, 0);