Lines Matching refs:ips

1090 		ipstate_t ips;  in showipstates()  local
1092 is = fetchstate(is, &ips); in showipstates()
1097 is = ips.is_next; in showipstates()
1099 (state_matcharray(&ips, filter) == 0)) { in showipstates()
1104 printstatefield(&ips, state_fields[i].w_value); in showipstates()
1110 printstate(&ips, opts, ipsp->iss_ticks); in showipstates()
1291 ipstate_t ips; in topipstates() local
1342 for (; ipsstp->iss_list; ipsstp->iss_list = ips.is_next) { in topipstates()
1344 ipsstp->iss_list = fetchstate(ipsstp->iss_list, &ips); in topipstates()
1348 if (ver != 0 && ips.is_v != ver) in topipstates()
1352 (state_matcharray(&ips, filter) == 0)) in topipstates()
1356 if (ips.is_v == 4) { in topipstates()
1358 saddr.in4.s_addr != ips.is_saddr) || in topipstates()
1360 daddr.in4.s_addr != ips.is_daddr)) in topipstates()
1365 if (ips.is_v == 6) { in topipstates()
1367 IP6_NEQ(&saddr, &ips.is_src)) || in topipstates()
1369 IP6_NEQ(&daddr, &ips.is_dst))) in topipstates()
1374 if (protocol > 0 && protocol != ips.is_p) in topipstates()
1378 if (((ips.is_p == IPPROTO_TCP) || in topipstates()
1379 (ips.is_p == IPPROTO_UDP)) && in topipstates()
1380 (((sport > 0) && (htons(sport) != ips.is_sport)) || in topipstates()
1381 ((dport > 0) && (htons(dport) != ips.is_dport)))) in topipstates()
1385 if ((topclosed == 0) && (ips.is_p == IPPROTO_TCP) && in topipstates()
1386 (ips.is_state[0] >= IPF_TCPS_LAST_ACK) && in topipstates()
1387 (ips.is_state[1] >= IPF_TCPS_LAST_ACK)) in topipstates()
1406 len = strlen(getip(ips.is_v, &ips.is_src)); in topipstates()
1409 len = strlen(getip(ips.is_v, &ips.is_dst)); in topipstates()
1415 tp->st_src = ips.is_src; in topipstates()
1416 tp->st_dst = ips.is_dst; in topipstates()
1417 tp->st_p = ips.is_p; in topipstates()
1418 tp->st_v = ips.is_v; in topipstates()
1419 tp->st_state[0] = ips.is_state[0]; in topipstates()
1420 tp->st_state[1] = ips.is_state[1]; in topipstates()
1422 tp->st_pkts = ips.is_pkts[0]+ips.is_pkts[1]; in topipstates()
1423 tp->st_bytes = ips.is_bytes[0]+ips.is_bytes[1]; in topipstates()
1425 tp->st_pkts = ips.is_pkts[2]+ips.is_pkts[3]; in topipstates()
1426 tp->st_bytes = ips.is_bytes[2]+ips.is_bytes[3]; in topipstates()
1428 tp->st_age = ips.is_die - ipsstp->iss_ticks; in topipstates()
1429 if ((ips.is_p == IPPROTO_TCP) || in topipstates()
1430 (ips.is_p == IPPROTO_UDP)) { in topipstates()
1431 tp->st_sport = ips.is_sport; in topipstates()
1432 tp->st_dport = ips.is_dport; in topipstates()