int RtmpOsPktIappMakeUp(int param_1,void *param_2)
{
int iVar1;
void *__dest;
undefined1 auStack_30 [6];
undefined1 auStack_2a [6];
undefined2 local_24;
undefined1 local_22;
undefined1 local_21;
undefined1 local_20;
undefined1 local_1f;
undefined1 local_1e;
undefined1 local_1d;
if (param_1 == 0) {
iVar1 = 0;
}
else {
iVar1 = dev_alloc_skb(0x16);
if (iVar1 == 0) {
if (RTDebugLevel == 0) {
iVar1 = 0;
}
else {
printk("Error! Can\'t allocate a skb.\n");
iVar1 = 0;
}
}
else {
memset(auStack_30,0,0x14) //possible issue identified - semgrep
memset(auStack_30,0xff,6) //possible issue identified - semgrep
memcpy(auStack_2a,param_2,6) //possible issue identified - semgrep
local_24 = 0x600;
local_20 = 0xaf;
local_1f = 0x81;
local_1e = 1;
local_1d = 2;
local_22 = 0;
local_21 = 1;
*(int *)(iVar1 + 0x9c) = *(int *)(iVar1 + 0x9c) + 2;
*(int *)(iVar1 + 0x90) = *(int *)(iVar1 + 0x90) + 2;
*(int *)(iVar1 + 0x14) = param_1;
__dest = (void *)skb_put(iVar1,0x14);
memcpy(__dest,auStack_30,0x14) //possible issue identified - semgrep
}
}
return iVar1;
}