Home
last modified time | relevance | path

Searched refs:msk (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dfill6bits.c14 u_int *msk;
17 msk[0] = 0;
18 msk[1] = 0;
19 msk[2] = 0;
20 msk[3] = 0;
32 msk[3] = htonl(msk[3] << (128 - bits));
34 msk[3] = 0;
35 msk[2] = htonl(msk[2] << (96 - bits));
37 msk[3] = 0;
39 msk[1] = htonl(msk[1] << (64 - bits));
[all …]
H A Dgenmask.c12 int genmask(msk, mskp) in genmask() argument
13 char *msk; in genmask()
19 if (strchr(msk, '.') || strchr(msk, 'x') || strchr(msk, ':')) {
24 if (inet_pton(AF_INET6, msk, mskp) != 1)
28 if (inet_aton(msk, (struct in_addr *)mskp) == 0)
34 bits = (int)strtol(msk, &endptr, 0);
H A Dcount6bits.c12 int count6bits(msk) in count6bits() argument
13 u_32_t *msk; in count6bits()
19 if (msk[k] == 0xffffffff)
22 for (j = msk[k]; j; j <<= 1)
H A Dbuildopts.c17 u_32_t msk = 0; local
25 if (strcasecmp(s, io->on_name) || (msk & io->on_bit))
31 msk |= io->on_bit;
H A Doptname.c18 u_long msk = 0; local
26 msk |= io->on_bit;
62 return msk;
/illumos-gate/usr/src/cmd/cdrw/
H A Doptions.c39 set_options_mask(options *msk, char *str) in set_options_mask() argument
42 (void) memset(msk, 0, sizeof (*msk)); in set_options_mask()
44 add_option(msk, str[i]); in set_options_mask()
49 add_option(options *msk, char option) in add_option() argument
55 msk->bitmap[loc >> 3] |= bitlocation[loc & 7]; in add_option()
64 compare_options_mask(options *msk, options *specified) in compare_options_mask() argument
70 if (msk->bitmap[i] == specified->bitmap[i]) in compare_options_mask()
72 bmap = msk->bitmap[i] | specified->bitmap[i]; in compare_options_mask()
73 bmap ^= msk->bitmap[i]; in compare_options_mask()
H A Doptions.h42 void set_options_mask(options *msk, char *str);
43 void add_option(options *msk, char option);
44 int compare_options_mask(options *msk, options *specified);
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_htable.c523 u_32_t hmsk, msk, ips; local
528 msk = 0xffffffff;
542 msk <<= 1;
571 msk[0] = 0xffffffff;
572 msk[1] = 0xffffffff;
573 msk[2] = 0xffffffff;
574 msk[3] = 0xffffffff;
577 ips[0] = *and & msk[0];
578 ips[1] = *(and + 1) & msk[1];
579 ips[2] = *(and + 2) & msk[2];
[all …]
H A Dip_nat6.c2097 i6addr_t msk; local
2106 msk.i6[0] = 0xffffffff;
2107 msk.i6[1] = 0xffffffff;
2108 msk.i6[2] = 0xffffffff;
2109 msk.i6[3] = 0xffffffff;
2156 msk.i6[i] = htonl(ntohl(msk.i6[i])<<1);
2163 msk.i6[i--] = 0;
2380 i6addr_t msk; local
2385 msk.i6[0] = 0xffffffff;
2439 msk.i6[i] = htonl(ntohl(msk.i6[i])<<1);
[all …]
H A Dip_nat.c3938 u_32_t hv, msk, nmsk; local
3950 msk = 0xffffffff;
3953 iph = ipa & htonl(msk);
4000 msk <<= 1;
4264 u_32_t hv, msk, rmsk; local
4277 msk = 0xffffffff;
4279 iph = in.s_addr & htonl(msk);
4327 msk <<= 1;
H A Dfil.c3720 int count6bits(msk) in count6bits() argument
3721 u_32_t *msk; in count6bits()
3727 if (msk[k] == 0xffffffff)
3730 for (j = msk[k]; j; j <<= 1)
/illumos-gate/usr/src/cmd/localedef/
H A Dwide.c253 uint8_t msk; in tomb_utf8() local
264 msk = 0xc0; in tomb_utf8()
267 msk = 0xe0; in tomb_utf8()
270 msk = 0xf0; in tomb_utf8()
279 s[0] = (msk) | wc; in tomb_utf8()
/illumos-gate/usr/src/cmd/banner/
H A Dbanner.c182 static int msk = 0100; /* ? */ variable
241 if (((c[i]<<j)&msk) != 0) p->alpha[i][j] = plot; in banfil()
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_cron.c442 au_mask_t msk; in audit_cron_create_anc_file() local
463 if (au_user_mask(uname, &msk) != 0) { in audit_cron_create_anc_file()
468 ai.ai_mask = msk; in audit_cron_create_anc_file()
/illumos-gate/usr/src/uts/sun4/os/
H A Dvisinstr.c1438 uint_t opf, msk; in vis_prtl_fst() local
1464 msk = (uint_t)tmsk; in vis_prtl_fst()
1482 if ((msk & j) == j) in vis_prtl_fst()
1498 if ((msk & j) == j) in vis_prtl_fst()
1514 if ((msk & j) == j) in vis_prtl_fst()
1530 if ((msk & j) == j) { in vis_prtl_fst()
1549 if ((msk & j) == j) in vis_prtl_fst()
1565 if ((msk & j) == j) { in vis_prtl_fst()
/illumos-gate/usr/src/grub/grub-0.97/
H A DTHANKS74 Khimenko Victor <grub@khim.sch57.msk.ru>
H A DChangeLog4252 2000-07-14 Khimenko Victor <grub@khim.sch57.msk.ru>
/illumos-gate/usr/src/data/terminfo/
H A Dtermcap.src1649 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
H A Dterminfo.src1878 # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996