Searched refs:tup (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printtunable.c | 8 void printtunable(tup) in printtunable() argument 9 ipftune_t *tup; in printtunable() 12 tup->ipft_name, tup->ipft_min, tup->ipft_max); 13 if (tup->ipft_sz == sizeof(u_long)) 14 printf("%lu\n", tup->ipft_vlong); 15 else if (tup->ipft_sz == sizeof(u_int)) 16 printf("%u\n", tup->ipft_vint); 18 printf("%hu\n", tup->ipft_vshort); 19 else if (tup->ipft_sz == sizeof(u_char)) 20 printf("%u\n", (u_int)tup->ipft_vchar); [all …]
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndr_anal.c | 44 struct tup { struct 45 struct tup *up; argument 191 type_ident_decl1(struct tup *tup, char *funcbuf, size_t buflen, char *ident) in type_ident_decl1() argument 197 if (!tup) { in type_ident_decl1() 201 ti = tup->ti; in type_ident_decl1() 267 struct tup *tup; in type_ident_decl() local 268 struct tup *up = 0; in type_ident_decl() 272 tup = &tup_tab[n_tt]; in type_ident_decl() 273 tup->up = up; in type_ident_decl() 274 tup->ti = ti; in type_ident_decl() [all …]
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 4556 sof_socktuple32_t *tup; in show_sockconfig_filter_prop32() local 4590 sz = props.sfp_socktuple_cnt * sizeof (*tup); in show_sockconfig_filter_prop32() 4591 tup = my_malloc(sz, "socket tuple buffer"); in show_sockconfig_filter_prop32() 4592 if (Pread(Proc, tup, sz, (uintptr_t)props.sfp_socktuple) == sz) in show_sockconfig_filter_prop32() 4596 tup[i].sofst_family, tup[i].sofst_type, in show_sockconfig_filter_prop32() 4597 tup[i].sofst_protocol); in show_sockconfig_filter_prop32() 4607 sof_socktuple_t *tup; in show_sockconfig_filter_prop() local 4641 sz = props.sfp_socktuple_cnt * sizeof (*tup); in show_sockconfig_filter_prop() 4642 tup = my_malloc(sz, "socket tuple buffer"); in show_sockconfig_filter_prop() 4647 tup[i].sofst_family, tup[i].sofst_type, in show_sockconfig_filter_prop() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | fil.c | 1552 u_short tup, po; local 1555 tup = *pop; 1564 if (tup != po) /* EQUAL */ 1568 if (tup == po) /* NOTEQUAL */ 1572 if (tup >= po) /* LESSTHAN */ 1576 if (tup <= po) /* GREATERTHAN */ 1580 if (tup > po) /* LT or EQ */ 1584 if (tup < po) /* GT or EQ */ 1588 if (tup >= po && tup <= frp->frp_top) /* Out of range */ 1592 if (tup <= po || tup >= frp->frp_top) /* In range */ [all …]
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 1866 sof_socktuple_t *tup = ent->sofe_socktuple; in sockconfig_add_filter() local 1869 tup = ent->sofe_socktuple; in sockconfig_add_filter() 1870 for (i = 0; i < ent->sofe_socktuple_cnt; i++, tup++) { in sockconfig_add_filter() 1871 ASSERT(tup < ent->sofe_socktuple + tuplesz); in sockconfig_add_filter() 1877 tup->sofst_family = tup32.sofst_family; in sockconfig_add_filter() 1878 tup->sofst_type = tup32.sofst_type; in sockconfig_add_filter() 1879 tup->sofst_protocol = tup32.sofst_protocol; in sockconfig_add_filter()
|