Lines Matching refs:ips

1088 		ipstate_t ips;  in showipstates()  local
1090 is = fetchstate(is, &ips); in showipstates()
1095 is = ips.is_next; in showipstates()
1097 (state_matcharray(&ips, filter) == 0)) { in showipstates()
1102 printstatefield(&ips, state_fields[i].w_value); in showipstates()
1108 printstate(&ips, opts, ipsp->iss_ticks); in showipstates()
1289 ipstate_t ips; in topipstates() local
1340 for (; ipsstp->iss_list; ipsstp->iss_list = ips.is_next) { in topipstates()
1342 ipsstp->iss_list = fetchstate(ipsstp->iss_list, &ips); in topipstates()
1346 if (ver != 0 && ips.is_v != ver) in topipstates()
1350 (state_matcharray(&ips, filter) == 0)) in topipstates()
1354 if (ips.is_v == 4) { in topipstates()
1356 saddr.in4.s_addr != ips.is_saddr) || in topipstates()
1358 daddr.in4.s_addr != ips.is_daddr)) in topipstates()
1363 if (ips.is_v == 6) { in topipstates()
1365 IP6_NEQ(&saddr, &ips.is_src)) || in topipstates()
1367 IP6_NEQ(&daddr, &ips.is_dst))) in topipstates()
1372 if (protocol > 0 && protocol != ips.is_p) in topipstates()
1376 if (((ips.is_p == IPPROTO_TCP) || in topipstates()
1377 (ips.is_p == IPPROTO_UDP)) && in topipstates()
1378 (((sport > 0) && (htons(sport) != ips.is_sport)) || in topipstates()
1379 ((dport > 0) && (htons(dport) != ips.is_dport)))) in topipstates()
1383 if ((topclosed == 0) && (ips.is_p == IPPROTO_TCP) && in topipstates()
1384 (ips.is_state[0] >= IPF_TCPS_LAST_ACK) && in topipstates()
1385 (ips.is_state[1] >= IPF_TCPS_LAST_ACK)) in topipstates()
1404 len = strlen(getip(ips.is_v, &ips.is_src)); in topipstates()
1407 len = strlen(getip(ips.is_v, &ips.is_dst)); in topipstates()
1413 tp->st_src = ips.is_src; in topipstates()
1414 tp->st_dst = ips.is_dst; in topipstates()
1415 tp->st_p = ips.is_p; in topipstates()
1416 tp->st_v = ips.is_v; in topipstates()
1417 tp->st_state[0] = ips.is_state[0]; in topipstates()
1418 tp->st_state[1] = ips.is_state[1]; in topipstates()
1420 tp->st_pkts = ips.is_pkts[0]+ips.is_pkts[1]; in topipstates()
1421 tp->st_bytes = ips.is_bytes[0]+ips.is_bytes[1]; in topipstates()
1423 tp->st_pkts = ips.is_pkts[2]+ips.is_pkts[3]; in topipstates()
1424 tp->st_bytes = ips.is_bytes[2]+ips.is_bytes[3]; in topipstates()
1426 tp->st_age = ips.is_die - ipsstp->iss_ticks; in topipstates()
1427 if ((ips.is_p == IPPROTO_TCP) || in topipstates()
1428 (ips.is_p == IPPROTO_UDP)) { in topipstates()
1429 tp->st_sport = ips.is_sport; in topipstates()
1430 tp->st_dport = ips.is_dport; in topipstates()