Home
last modified time | relevance | path

Searched refs:maddr (Results 1 – 25 of 25) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap09.c49 static char *maddr; variable
105 maddr = mmap(0, mapsize, PROT_READ | PROT_WRITE, in setup()
107 if (maddr == MAP_FAILED) in setup()
111 memset(maddr, 'A', mapsize); in setup()
116 munmap(maddr, mapsize); in cleanup()
/external/ltp/testcases/network/stress/ns-tools/
Dns-igmp_querier.c156 struct igmpv3_query *create_query(uint8_t code, char *maddr, char *saddrs) in create_query() argument
194 if (maddr == NULL) { in create_query()
197 if (inet_pton(AF_INET, maddr, &ip) <= 0) { in create_query()
250 char *maddr; /* multicast address */ in parse_options() local
254 maddr = NULL; in parse_options()
269 maddr = strdup(optarg); in parse_options()
270 if (maddr == NULL) in parse_options()
334 if ((info_p->query = create_query(max_resp, maddr, saddrs)) == NULL) in parse_options()
337 free(maddr); in parse_options()
Dns-mcast_receiver.c164 char *maddr; /* multicast address */ in parse_options() local
169 maddr = NULL; in parse_options()
197 maddr = strdup(optarg); in parse_options()
198 if (maddr == NULL) in parse_options()
263 if (maddr == NULL) { in parse_options()
273 info_p->mainfo = get_maddrinfo(family, maddr, portnum); in parse_options()
285 free(maddr); in parse_options()
Dns-mcast_join.c295 char maddr[ADDR_STR_MAXSIZE]; /* multicast address in string */ in join_group() local
332 strncpy(maddr, mcast_addr, ADDR_STR_MAXSIZE); in join_group()
334 fprintf(stderr, "multicast address is %s\n", maddr); in join_group()
351 sprintf(maddr, "%s.%d.%d", mcast_prefix, in join_group()
357 sprintf(maddr, "%s:%x", mcast_prefix, idx + 1); in join_group()
363 maddr); in join_group()
366 maddr_info = get_maddrinfo(family, maddr, NULL); in join_group()
Dns-common.c437 struct addrinfo *get_maddrinfo(sa_family_t family, const char *maddr, in get_maddrinfo() argument
450 err = getaddrinfo(maddr, portnum, &hints, &res); in get_maddrinfo()
Dns-traffic.h235 struct addrinfo *get_maddrinfo(sa_family_t family, const char *maddr, const char *portnum);
/external/ltp/testcases/network/iproute/
Dip_tests.sh227 ip maddr add 66:66:00:00:00:66 dev $iface
239 ip maddr show | grep "66:66:00:00:00:66" > tst_ip.out 2>&1
253 ip maddr del 66:66:00:00:00:66 dev $iface
259 ip maddr show | grep "66:66:00:00:00:66" > /dev/null
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress01.c472 char *maddr = NULL, *paddr; local
533 if ((maddr = mmap64(0, mapsize, PROT_READ | PROT_WRITE, MAP_SHARED,
536 if ((maddr = mmap(0, mapsize, PROT_READ | PROT_WRITE, MAP_SHARED,
550 paddr = maddr + (randpage * pagesize); /* page address */
580 paddr = maddr + (randpage * pagesize); /* page address */
586 if (munmap(maddr, mapsize) == -1) {
/external/nist-sip/java/gov/nist/javax/sip/address/
DSipUri.java768 NameValue maddr = uriParms.getNameValue(MADDR); in getMAddrParam() local
769 if (maddr == null) in getMAddrParam()
771 String host = (String) maddr.getValueAsObject(); in getMAddrParam()
912 public void setMAddrParam(String maddr) throws ParseException { in setMAddrParam() argument
913 if (maddr == null) in setMAddrParam()
915 setParameter("maddr", maddr); in setMAddrParam()
/external/mdnsresponder/mDNSShared/
DDebugServices.c2829 mDNSAddr maddr; in DebugServicesTest() local
2831 memset( &maddr, 0, sizeof( maddr ) ); in DebugServicesTest()
2832 maddr.type = mDNSAddrType_IPv4; in DebugServicesTest()
2833 maddr.ip.v4.b[ 0 ] = 127; in DebugServicesTest()
2834 maddr.ip.v4.b[ 1 ] = 0; in DebugServicesTest()
2835 maddr.ip.v4.b[ 2 ] = 0; in DebugServicesTest()
2836 maddr.ip.v4.b[ 3 ] = 1; in DebugServicesTest()
2837 DebugSNPrintF( s, sizeof( s ), "%#a", &maddr ); in DebugServicesTest()
2840 memset( &maddr, 0, sizeof( maddr ) ); in DebugServicesTest()
2841 maddr.type = mDNSAddrType_IPv6; in DebugServicesTest()
[all …]
/external/iptables/extensions/
Dlibxt_cluster.man40 ip maddr add 01:00:5e:00:01:01 dev eth1
42 ip maddr add 01:00:5e:00:01:02 dev eth2
/external/llvm/test/CodeGen/Mips/msa/
D3rf_4rf_q.ll67 %3 = tail call <8 x i16> @llvm.mips.maddr.q.h(<8 x i16> %0, <8 x i16> %1, <8 x i16> %2)
72 declare <8 x i16> @llvm.mips.maddr.q.h(<8 x i16>, <8 x i16>, <8 x i16>) nounwind
92 %3 = tail call <4 x i32> @llvm.mips.maddr.q.w(<4 x i32> %0, <4 x i32> %1, <4 x i32> %2)
97 declare <4 x i32> @llvm.mips.maddr.q.w(<4 x i32>, <4 x i32>, <4 x i32>) nounwind
/external/autotest/client/bin/net/
Dnet_utils.py328 def add_maddr(self, maddr): argument
329 utils.system('ip maddr add %s dev %s' % (maddr, self._name))
332 def del_maddr(self, maddr): argument
333 utils.system('ip maddr del %s dev %s' % (maddr, self._name))
Dnet_utils_unittest.py732 maddr = '01:00:5e:00:00:01'
733 cmd = 'ip maddr add %s dev %s' % (maddr, mock_netif._name)
735 mock_netif.add_maddr(maddr)
741 maddr = '01:00:5e:00:00:01'
742 cmd = 'ip maddr del %s dev %s' % (maddr, mock_netif._name)
744 mock_netif.del_maddr(maddr)
/external/ltp/testcases/network/multicast/mc_cmds/
Dmc_cmds53 ip maddr show $(tst_iface) | grep -q '224.0.0.1' || \
/external/ltp/testcases/kernel/io/aio/aio01/
Daio01.c77 char *maddr; variable
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.ant.core_3.2.200.v20100427.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/iproute2/doc/
Dip-cref.tex512 \verb|ip maddr ls| in~Sec.\ref{IP-MADDR} (p.\pageref{IP-MADDR} of this
2311 kuznet@alisa:~ $ ip maddr ls dummy
2330 with \verb|ip maddr add|. See the following subsection.
2362 netadm@alisa:~ # ip maddr add 33:33:00:00:00:01 dev dummy
2363 netadm@alisa:~ # ip -0 maddr ls dummy
2367 netadm@alisa:~ # ip maddr del 33:33:00:00:00:01 dev dummy
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...