Home | History | Annotate | Download | only in extensions

Lines Matching full:info

41 	struct ebt_802_3_info *info = (struct ebt_802_3_info *)match->data;
43 info->invflags = 0;
44 info->bitmask = 0;
51 struct ebt_802_3_info *info = (struct ebt_802_3_info *) (*match)->data;
58 info->invflags |= EBT_802_3_SAP;
64 info->sap = i; /* one byte, so no byte order worries */
65 info->bitmask |= EBT_802_3_SAP;
69 info->invflags |= EBT_802_3_TYPE;
76 info->type = htons(i);
77 info->bitmask |= EBT_802_3_TYPE;
83 *flags |= info->bitmask;
98 struct ebt_802_3_info *info = (struct ebt_802_3_info *)match->data;
100 if (info->bitmask & EBT_802_3_SAP) {
102 if (info->invflags & EBT_802_3_SAP)
104 printf("0x%.2x ", info->sap);
106 if (info->bitmask & EBT_802_3_TYPE) {
108 if (info->invflags & EBT_802_3_TYPE)
110 printf("0x%.4x ", ntohs(info->type));