Lines Matching refs:frag

202 /* Returns:     ipfrstat_t* - pointer to struct with current frag stats     */
220 /* table(I) - pointer to frag table to add to */
230 ipfr_t *fra, frag;
247 frag.ipfr_p = ip->ip_p;
249 frag.ipfr_id = ip->ip_id;
251 frag.ipfr_tos = ip->ip_tos;
252 frag.ipfr_src.s_addr = ip->ip_src.s_addr;
254 frag.ipfr_dst.s_addr = ip->ip_dst.s_addr;
256 frag.ipfr_ifp = fin->fin_ifp;
260 frag.ipfr_optmsk = fin->fin_fi.fi_optmsk & IPF_OPTCOPY;
261 frag.ipfr_secmsk = fin->fin_fi.fi_secmsk;
262 frag.ipfr_auth = fin->fin_fi.fi_auth;
268 if (!bcmp((char *)&frag.ipfr_ifp, (char *)&fra->ipfr_ifp,
302 bcopy((char *)&frag.ipfr_ifp, (char *)&fra->ipfr_ifp, IPFR_CMPSZ);
420 /* matching entry in the frag table, else NULL */
431 ipfr_t *f, frag;
445 frag.ipfr_p = ip->ip_p;
447 frag.ipfr_id = ip->ip_id;
449 frag.ipfr_tos = ip->ip_tos;
450 frag.ipfr_src.s_addr = ip->ip_src.s_addr;
452 frag.ipfr_dst.s_addr = ip->ip_dst.s_addr;
454 frag.ipfr_ifp = fin->fin_ifp;
458 frag.ipfr_optmsk = fin->fin_fi.fi_optmsk & IPF_OPTCOPY;
459 frag.ipfr_secmsk = fin->fin_fi.fi_secmsk;
460 frag.ipfr_auth = fin->fin_fi.fi_auth;
466 if (!bcmp((char *)&frag.ipfr_ifp, (char *)&f->ipfr_ifp,
539 /* Returns: nat_t* - pointer to 'parent' NAT structure if frag table */
602 /* the frag cache table, else NULL. */
684 /* tail(IO) - pointer to the pointer to the tail of the frag */
717 /* Parameters: fra - pointer to frag structure to free */
719 /* Take care of the details associated with deleting an entry from the frag */
921 ipfr_t *frag, *next, zero;
924 frag = token->ipt_data;
925 if (frag == (ipfr_t *)-1) {
931 if (frag == NULL)
934 next = frag->ipfr_next;
946 if (frag != NULL) {
948 fr_fragderef(&frag, lock);
950 fr_fragderef(&frag);