/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/pw/ |
H A D | pw_grids.F | 987 DO ip = 0, np - 1 990 pw_grid%para%bo(1:2, 1, ip, 1) = axis_dist_all(1:2, 1, ip + 1) 991 pw_grid%para%bo(1:2, 2, ip, 1) = axis_dist_all(1:2, 2, ip + 1) 995 pw_grid%para%bo(1:2, 1, ip, 2) = axis_dist_all(1:2, 1, ip + 1) 1007 DO ip = 0, np - 1 1060 IF (ip > np - 1) ip = 2*np - ip - 1 1080 IF (ip >= 0) pw_grid%para%nyzray(ip) = & 1121 DO ip = 0, np - 1 1162 DO ip = 0, np - 1 1908 is = ip [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/networking/ |
H A D | ipvlan.rst | 31 using IProute2/ip utility. 158 ip netns add ns0 159 ip netns add ns1 168 ip link set dev ipvl0 netns ns0 169 ip link set dev ipvl1 netns ns1 175 (1) ip netns exec ns0 bash 176 (2) ip link set dev ipvl0 up 177 (3) ip link set dev lo up 184 (1) ip netns exec ns1 bash 185 (2) ip link set dev ipvl1 up [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/Documentation/networking/ |
H A D | ipvlan.rst | 31 using IProute2/ip utility. 158 ip netns add ns0 159 ip netns add ns1 168 ip link set dev ipvl0 netns ns0 169 ip link set dev ipvl1 netns ns1 175 (1) ip netns exec ns0 bash 176 (2) ip link set dev ipvl0 up 177 (3) ip link set dev lo up 184 (1) ip netns exec ns1 bash 185 (2) ip link set dev ipvl1 up [all …]
|
/dports/security/fwlogwatch/fwlogwatch-1.5/ |
H A D | utils.c | 289 if (ip->s6_addr[i] != 0) in isV4mappedV6addr() 293 if (ip->s6_addr[i] != 0xff) in isV4mappedV6addr() 299 char *my_inet_ntop(struct in6_addr *ip) in my_inet_ntop() argument 302 if (isV4mappedV6addr(ip)) { in my_inet_ntop() 335 struct in6_addr ip; in parse_cidr() local 346 convert_ip(input, &ip); in parse_cidr() 347 if (isV4mappedV6addr(&ip)) { in parse_cidr() 402 void add_known_host(char *ip) in add_known_host() argument 408 parse_cidr(ip, &host->netmask); in add_known_host() 441 struct in6_addr ip; in add_exclude_hpb() local [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/Documentation/networking/ |
H A D | ipvlan.rst | 31 using IProute2/ip utility. 158 ip netns add ns0 159 ip netns add ns1 168 ip link set dev ipvl0 netns ns0 169 ip link set dev ipvl1 netns ns1 175 (1) ip netns exec ns0 bash 176 (2) ip link set dev ipvl0 up 177 (3) ip link set dev lo up 184 (1) ip netns exec ns1 bash 185 (2) ip link set dev ipvl1 up [all …]
|
/dports/net/kamailio/kamailio-5.4.5/src/modules/ims_qos/ |
H A D | rx_authdata.c | 104 p_session_data->ip.s = p; in create_new_regsessiondata() 105 memcpy(p, ip->s, ip->len); in create_new_regsessiondata() 106 p_session_data->ip.len = ip->len; in create_new_regsessiondata() 107 p += ip->len; in create_new_regsessiondata() 174 if (ip && ip->len > 0 && ip->s) { in create_new_callsessiondata() 175 LM_DBG("Copying ip [%.*s] into call session data\n", ip->len, ip->s); in create_new_callsessiondata() 176 call_session_data->ip.s = p; in create_new_callsessiondata() 177 memcpy(call_session_data->ip.s, ip->s, ip->len); in create_new_callsessiondata() 178 call_session_data->ip.len = ip->len; in create_new_callsessiondata() 179 p += ip->len; in create_new_callsessiondata() [all …]
|
/dports/devel/upp/upp/uppsrc/plugin/zstd_legacy/lib/ |
H A D | zstd_decompress.c | 641 { int nbSeq = *ip++; in ZSTD_decodeSeqHeaders() 645 nbSeq = MEM_readLE16(ip) + LONGNBSEQ, ip+=2; in ZSTD_decodeSeqHeaders() 656 ip++; in ZSTD_decodeSeqHeaders() 664 ip += llhSize; in ZSTD_decodeSeqHeaders() 668 ip += ofhSize; in ZSTD_decodeSeqHeaders() 672 ip += mlhSize; in ZSTD_decodeSeqHeaders() 675 return ip-istart; in ZSTD_decodeSeqHeaders() 863 ip += seqHSize; in ZSTD_decompressSequences() 925 ip += litCSize; in ZSTD_decompressBlock_internal() 1021 ip += cBlockSize; in ZSTD_decompressFrame() [all …]
|
/dports/net/py-netaddr/netaddr-0.8.0/netaddr/ip/ |
H A D | __init__.py | 552 ip = None 565 return ip 578 ip = None 594 return ip 998 def ip(self): member in IPNetwork 1181 ip = None 1185 ip = klass('%s/%d' % (self.ip, self.prefixlen)) 1196 return ip 1849 ip = IPAddress(ip) 1878 ip = IPAddress(ip) [all …]
|
/dports/net/nast/nast-0.2.0/ |
H A D | stream.c | 27 struct libnet_ipv4_hdr *ip; in stream() local 59 ip = (struct libnet_ipv4_hdr *) (packet + offset); in stream() 60 if (ip->ip_p != IPPROTO_TCP) continue; in stream() 65 if ((n=ntohs(ip->ip_len) - LIBNET_IPV4_H - TCP_SIZE_H)<1) continue; in stream() 68 …if ( ip->ip_src.s_addr == ip_src && ip->ip_dst.s_addr == ip_dst && tcp->th_sport == htons(sport) &… in stream() 75 …else if ( ip->ip_src.s_addr == ip_dst && ip->ip_dst.s_addr == ip_src && tcp->th_sport == htons(dpo… in stream()
|
/dports/multimedia/zoneminder/zoneminder-1.36.5/dep/RtspServer/src/xop/ |
H A D | rtsp.h | 22 std::string ip; member 51 char ip[100] = { 0 }; in ParseRtspUrl() local 55 if (sscanf(url.c_str() + 7, "%[^:]:%hu/%s", ip, &port, suffix) == 3) in ParseRtspUrl() 57 if (sscanf_s(url.c_str() + 7, "%[^:]:%hu/%s", ip, 100, &port, suffix, 100) == 3) in ParseRtspUrl() 63 else if (sscanf(url.c_str() + 7, "%[^/]/%s", ip, suffix) == 2) in ParseRtspUrl() 65 else if (sscanf_s(url.c_str() + 7, "%[^/]/%s", ip, 100, suffix, 100) == 2) in ParseRtspUrl() 76 rtsp_url_info_.ip = ip; in ParseRtspUrl()
|
/dports/net-mgmt/librenms/librenms-21.5.1/LibreNMS/Util/ |
H A D | Snmpsim.php | 34 private $ip; variable in LibreNMS\\Util\\Snmpsim 40 public function __construct($ip = '127.1.6.1', $port = 1161, $log = '/tmp/snmpsimd.log') argument 42 $this->ip = $ip; 65 echo "Starting snmpsim listening on {$this->ip}:{$this->port}... \n"; 113 echo "Starting snmpsim listening on {$this->ip}:{$this->port}... \n"; 139 return $this->ip; 160 $cmd .= " --data-dir={$this->snmprec_dir} --agent-udpv4-endpoint={$this->ip}:{$this->port}";
|
/dports/net-mgmt/netdisco/App-Netdisco-2.047002/lib/App/Netdisco/Web/Plugin/AdminTask/ |
H A D | PseudoDevice.pm | 21 my $ip = NetAddr::IP::Lite->new(param('ip')); 22 return 0 unless ($ip and $ip->addr ne '0.0.0.0'); 36 ip => param('ip'), 52 ip => param('ip'), 63 ->with_port_count->find({ip => param('ip')}); 84 { dev1 => $device->ip, port1 => "Port${port}" }, 85 { dev2 => $device->ip, port2 => "Port${port}" },
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/externals/fetk/punc/src/lapack/ |
H A D | zspcon.c | 20 static integer i__, ip, kase; in zspcon_() local 138 ip = *n * (*n + 1) / 2; in zspcon_() 140 i__1 = ip; in zspcon_() 144 ip -= i__; in zspcon_() 151 ip = 1; in zspcon_() 154 i__2 = ip; in zspcon_() 158 ip = ip + *n - i__ + 1; in zspcon_()
|
H A D | chpcon.c | 20 static integer i__, ip, kase; in chpcon_() local 136 ip = *n * (*n + 1) / 2; in chpcon_() 138 i__1 = ip; in chpcon_() 142 ip -= i__; in chpcon_() 149 ip = 1; in chpcon_() 152 i__2 = ip; in chpcon_() 156 ip = ip + *n - i__ + 1; in chpcon_()
|
H A D | cspcon.c | 20 static integer i__, ip, kase; in cspcon_() local 136 ip = *n * (*n + 1) / 2; in cspcon_() 138 i__1 = ip; in cspcon_() 142 ip -= i__; in cspcon_() 149 ip = 1; in cspcon_() 152 i__2 = ip; in cspcon_() 156 ip = ip + *n - i__ + 1; in cspcon_()
|
H A D | zhpcon.c | 20 static integer i__, ip, kase; in zhpcon_() local 138 ip = *n * (*n + 1) / 2; in zhpcon_() 140 i__1 = ip; in zhpcon_() 144 ip -= i__; in zhpcon_() 151 ip = 1; in zhpcon_() 154 i__2 = ip; in zhpcon_() 158 ip = ip + *n - i__ + 1; in zhpcon_()
|
/dports/games/wolfpack/empire-4.4.1/src/lib/commands/ |
H A D | shoo.c | 49 struct ichrstr *ip; in c_shoot() local 55 ip = whatitem(player->argp[1], "Shoot what <civ or uw> "); in c_shoot() 56 if (!ip || (ip->i_uid != I_CIVIL && ip->i_uid != I_UW)) in c_shoot() 58 item = ip->i_uid; in c_shoot() 61 sprintf(prompt, "number of %s to shoot? ", ip->i_name); in c_shoot() 91 nshot, ip->i_name, xyas(sect.sct_x, sect.sct_y, player->cnum)); in c_shoot()
|
/dports/net/p5-NetAddr-IP-Count/NetAddr-IP-Count-2.01/ |
H A D | Count.pm | 61 my ($label, $ip) = (shift, shift); 62 unshift @{$self->{'cache'}}, [$label, $ip]; 71 while (my $ip = shift) { 74 if ($ip_net->contains($ip)) { # Match 81 if ($ip_net->contains($ip)) { # Match 94 while (my $ip = shift) { 98 if ($ip_net->contains($ip)) { # Match 105 if ($ip_net->contains($ip)) { # Match
|
/dports/math/openblas/OpenBLAS-0.3.18/kernel/power/ |
H A D | casum.c | 105 BLASLONG ip=0; in CNAME() local 121 ip = 2 * n1; in CNAME() 126 sumf += ABS(x[ip]) + ABS(x[ip+1]); in CNAME() 127 ip += 2; in CNAME() 138 sumf += ABS(x[ip]) + ABS(x[ip+1]); in CNAME() 139 ip += inc_x2; in CNAME()
|
H A D | zasum.c | 105 BLASLONG ip=0; in CNAME() local 121 ip=2*n1; in CNAME() 126 sumf += ABS(x[ip]) + ABS(x[ip+1]); in CNAME() 128 ip+=2; in CNAME() 138 sumf += ABS(x[ip]) + ABS(x[ip+1]); in CNAME() 139 ip+=inc_x2; in CNAME()
|
/dports/net-mgmt/p5-SNMP-Info/SNMP-Info-3.81/lib/SNMP/Info/Layer3/ |
H A D | CiscoFWSM.pm | 78 my $ip = join ".", @parts; 82 $n_paddrs->{"$ifindex.$ip"} = $paddr; 99 my $ip = join ".", @parts; 103 $netaddrs->{"$ifindex.$ip"} = $ip; 120 my $ip = join ".", @parts; 124 $ifaddrs->{"$ifindex.$ip"} = $ip;
|
/dports/net/clash/clash-1.6.0/dns/ |
H A D | enhancer.go | 24 func (h *ResolverEnhancer) IsExistFakeIP(ip net.IP) bool { 30 return pool.Exist(ip) 36 func (h *ResolverEnhancer) IsFakeIP(ip net.IP) bool { 42 return pool.IPNet().Contains(ip) && !pool.Gateway().Equal(ip) 48 func (h *ResolverEnhancer) FindHostByIP(ip net.IP) (string, bool) { 50 if host, existed := pool.LookBack(ip); existed { 56 if host, existed := h.mapping.Get(ip.String()); existed {
|
/dports/sysutils/ucspi-tcp/ucspi-tcp-0.88/ |
H A D | old-rules.c | 34 static int doit(void (*callback)(char *,unsigned int),char *ip,char *host,char *info) in doit() argument 41 if (!stralloc_cats(&rules_name,ip)) return -1; in doit() 54 if (!stralloc_copys(&rules_name,ip)) return -1; in doit() 65 if (!stralloc_copys(&rules_name,ip)) return -1; in doit() 67 if (ip[rules_name.len - 1] == '.' || in doit() 68 (ip[rules_name.len-1]==':' && rules_name.len>1)) { in doit() 94 int rules(void (*callback)(char *,unsigned int),int fd,char *ip,char *host,char *info) in rules() argument 98 r = doit(callback,ip,host,info); in rules()
|
H A D | rules.c | 34 static int doit(void (*callback)(char *,unsigned int),char *ip,char *host,char *info) in doit() argument 41 if (!stralloc_cats(&rules_name,ip)) return -1; in doit() 54 if (!stralloc_copys(&rules_name,ip)) return -1; in doit() 65 if (!stralloc_copys(&rules_name,ip)) return -1; in doit() 67 if (ip[rules_name.len - 1] == '.' || ip[rules_name.len - 1] == ':') { in doit() 93 int rules(void (*callback)(char *,unsigned int),int fd,char *ip,char *host,char *info) in rules() argument 97 r = doit(callback,ip,host,info); in rules()
|
/dports/net/h323plus/h323plus-1_27_2/src/ |
H A D | transports.cxx | 270 if (ip.IsAny() || !ip.IsValid()) in BuildIP() 278 str << ip; in BuildIP() 295 *this = BuildIP(PIPSocket::Address(ip.m_ip.GetSize(), ip.m_ip.GetValue()), ip.m_port); in H323TransportAddress() 303 *this = BuildIP(PIPSocket::Address(ip.m_ip.GetSize(), ip.m_ip.GetValue()), ip.m_port); in H323TransportAddress() 324 …*this = BuildIP(PIPSocket::Address(ip.m_network.GetSize(), ip.m_network.GetValue()), ip.m_tsapIden… in H323TransportAddress() 332 …*this = BuildIP(PIPSocket::Address(ip.m_network.GetSize(), ip.m_network.GetValue()), ip.m_tsapIden… in H323TransportAddress() 393 PIPSocket::Address ip; in SetPDU() local 421 PIPSocket::Address ip; in SetPDU() local 477 PIPSocket::Address ip; in GetPort() local 699 if (!addr.GetIpAndPort(ip, port) || !ip.IsAny()) in H323GetInterfaceAddresses() [all …]
|