Lines Matching full:ips

1084 		ipstate_t ips;  in showipstates()  local
1086 is = fetchstate(is, &ips); in showipstates()
1091 is = ips.is_next; in showipstates()
1093 (state_matcharray(&ips, filter) == 0)) { in showipstates()
1098 printstatefield(&ips, state_fields[i].w_value); in showipstates()
1104 printstate(&ips, opts, ipsp->iss_ticks); in showipstates()
1285 ipstate_t ips; in topipstates() local
1336 for (; ipsstp->iss_list; ipsstp->iss_list = ips.is_next) { in topipstates()
1338 ipsstp->iss_list = fetchstate(ipsstp->iss_list, &ips); in topipstates()
1342 if (ver != 0 && ips.is_v != ver) in topipstates()
1346 (state_matcharray(&ips, filter) == 0)) in topipstates()
1350 if (ips.is_v == 4) { in topipstates()
1352 saddr.in4.s_addr != ips.is_saddr) || in topipstates()
1354 daddr.in4.s_addr != ips.is_daddr)) in topipstates()
1359 if (ips.is_v == 6) { in topipstates()
1361 IP6_NEQ(&saddr, &ips.is_src)) || in topipstates()
1363 IP6_NEQ(&daddr, &ips.is_dst))) in topipstates()
1368 if (protocol > 0 && protocol != ips.is_p) in topipstates()
1372 if (((ips.is_p == IPPROTO_TCP) || in topipstates()
1373 (ips.is_p == IPPROTO_UDP)) && in topipstates()
1374 (((sport > 0) && (htons(sport) != ips.is_sport)) || in topipstates()
1375 ((dport > 0) && (htons(dport) != ips.is_dport)))) in topipstates()
1379 if ((topclosed == 0) && (ips.is_p == IPPROTO_TCP) && in topipstates()
1380 (ips.is_state[0] >= IPF_TCPS_LAST_ACK) && in topipstates()
1381 (ips.is_state[1] >= IPF_TCPS_LAST_ACK)) in topipstates()
1400 len = strlen(getip(ips.is_v, &ips.is_src)); in topipstates()
1403 len = strlen(getip(ips.is_v, &ips.is_dst)); in topipstates()
1409 tp->st_src = ips.is_src; in topipstates()
1410 tp->st_dst = ips.is_dst; in topipstates()
1411 tp->st_p = ips.is_p; in topipstates()
1412 tp->st_v = ips.is_v; in topipstates()
1413 tp->st_state[0] = ips.is_state[0]; in topipstates()
1414 tp->st_state[1] = ips.is_state[1]; in topipstates()
1416 tp->st_pkts = ips.is_pkts[0]+ips.is_pkts[1]; in topipstates()
1417 tp->st_bytes = ips.is_bytes[0]+ips.is_bytes[1]; in topipstates()
1419 tp->st_pkts = ips.is_pkts[2]+ips.is_pkts[3]; in topipstates()
1420 tp->st_bytes = ips.is_bytes[2]+ips.is_bytes[3]; in topipstates()
1422 tp->st_age = ips.is_die - ipsstp->iss_ticks; in topipstates()
1423 if ((ips.is_p == IPPROTO_TCP) || in topipstates()
1424 (ips.is_p == IPPROTO_UDP)) { in topipstates()
1425 tp->st_sport = ips.is_sport; in topipstates()
1426 tp->st_dport = ips.is_dport; in topipstates()